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