The SourceLogin property specifies the login ID on the source server.
object.SourceLogin[= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Login ID |
String
Read/write
HRESULT GetSourceLogin(BSTR *pRetVal);
HRESULT SetSourceLogin(BSTR NewValue);
SourceLogin is required if an application is using SQL Server Authentication security mode.
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 SourceUseTrustedConnection to TRUE.