The DestinationUseTrustedConnection property specifies whether Windows Authentication is used.
object.DestinationUseTrustedConnection[= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Boolean that specifies whether Windows Authentication is used |
Boolean
Read/write
HRESULT GetDestinationUseTrustedConnection(VARIANT_BOOL *pRetVal);
HRESULT SetDestinationUseTrustedConnection(VARIANT_BOOL NewValue);
The default is FALSE.
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.