The SourcePassword property specifies the password on the source server.
object.SourcePassword[= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Password on the source server |
String
Read/write
HRESULT GetSourcePassword(BSTR *pRetVal);
HRESULT SetSourcePassword(BSTR NewValue);
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.