DestinationUseTrustedConnection Property

DTS Programming

DTS Programming

DestinationUseTrustedConnection Property

The DestinationUseTrustedConnection property specifies whether Windows Authentication is used.

Applies To
TransferObjectsTask Object TransferObjectsTask2 Object
Syntax

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

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDestinationUseTrustedConnection(VARIANT_BOOL *pRetVal);

HRESULT SetDestinationUseTrustedConnection(VARIANT_BOOL NewValue);

Remarks

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.

See Also

DestinationDatabase Property

DestinationLogin Property

DestinationPassword Property

DestinationServer Property