Condividi tramite


PublisherSecurityMode Property (Replication ActiveX)

The PublisherSecurityMode property sets or returns the security mode when connecting to the Publisher.

Sintassi

object.PublisherSecurityMode [= value]

Part

Description

object

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

value

SECURITY_TYPE (Replication ActiveX) constant that specifies the Publisher security mode.

ms147901.security(it-it,SQL.90).gifNota sulla protezione:

When possible, use Windows Authentication (NT_AUTHENTICATION).

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Osservazioni

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

Data Type

SECURITY_TYPE (Replication ActiveX)

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_PublisherSecurityMode(SECURITY_TYPE newVal);