The DestinationLogin property specifies the login ID on a destination server.
object.DestinationLogin[= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Login ID |
String
Read/write
HRESULT GetDestinationLogin(BSTR *pRetVal);
HRESULT SetDestinationLogin(BSTR NewValue);
DestinationLogin is required if an application is using SQL Server Authentication.
Note It is recommended that you connect to an instance of Microsoft® SQL Server™ using Windows Authentication instead of SQL Server Authentication. To use Windows Authentication, set DestinationUseTrustedConnection to TRUE.