The SubscriberSecurityMode property specifies the security mode used when connecting to the Publisher.
SQLDistribution Object | SQLMerge Object |
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 |
If the value is DB_AUTHENTICATION, then SubscriberLogin and SubscriberPassword will be used when connecting to the Subscriber.
NT_AUTHENTICATION is supported on Microsoft® Windows NT® only.
The default is DB_AUTHENTICATION.
Read/write
HRESULT get_SubscriberSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_SubscriberSecurityMode(SECURITY_TYPE newVal);
SuscriberLogin Property | SubscriberPassword Property |