DistributorSecurityMode Property

Replication Programming

Replication Programming

DistributorSecurityMode Property

The DistributorSecurityMode property sets or returns the security mode used when connecting to the Distributor.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.DistributorSecurityMode [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value SECURITY_TYPE constant that specifies the mode of security enforced at the Distributor
Remarks

If the value is DB_AUTHENTICATION (default), DistributorLogin and DistributorPassword will be used when connecting to the Distributor.

NT_AUTHENTICATION is not supported for DistributorSecurityMode unless the Distributor uses the Microsoft® Windows NT® 4.0 or Microsoft Windows® 2000 operating system. NT_AUTHENTICATION is not supported for any of DistributorSecurityMode, PublisherSecurityMode, and SubscriberSecurityMode unless the computer on which the replication control is running uses the Windows NT 4.0 or Windows 2000 operating system.

Data Type

SECURITY_TYPE

Modifiable

Read/write

Prototype C/C++

HRESULT get_DistributorSecurityMode(SECURITY_TYPE *pVal);

HRESULT put_DistributorSecurityMode(SECURITY_TYPE newVal);

See Also

DistributorLogin Property

DistributorPassword Property