SubscriberSecurityMode Property (Replication ActiveX)

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

Syntax

object.SubscriberSecurityMode [= value]

Part

Description

object

Expression that evaluates to an object in the Applies To list.

value

SECURITY_TYPE (Replication ActiveX) constant that specifies the security mode enforced at the Subscriber.

ms146886.security(en-US,SQL.90).gifSecurity Note:

When possible, use Windows Authentication (NT_AUTHENTICATION).

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Remarks

If the value is DB_AUTHENTICATION, SubscriberLogin Property (Replication ActiveX) and SubscriberPassword Property (Replication ActiveX) must also be specified.

Data Type

SECURITY_TYPE (Replication ActiveX)

Modifiable

Read/write

Prototype C/C++

HRESULT get_SubscriberSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_SubscriberSecurityMode(SECURITY_TYPE newVal);