SubscriberSecurityMode Property

Replication Programming

Replication Programming

SubscriberSecurityMode Property

The SubscriberSecurityMode property specifies the security mode used when connecting to the Publisher.

Applies To

SQLDistribution Object

SQLMerge Object

Syntax

object.SubscriberSecurityMode [= value]

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

If the value is DB_AUTHENTICATION (default), SubscriberLogin and SubscriberPassword will be used when connecting to the Subscriber.

NT_AUTHENTICATION is not supported for SubscriberSecurityMode unless the Subscriber runs on the Microsoft® Windows NT® 4.0 or Microsoft Windows® 2000 operating systems. 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_SubscriberSecurityMode(SECURITY_TYPE *pVal);

HRESULT put_SubscriberSecurityMode(SECURITY_TYPE newVal);

See Also

SubscriberLogin Property

SubscriberPassword Property