Partager via


DistributorSecurityMode Property (Replication ActiveX)

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

Syntaxe

object.DistributorSecurityMode [= value]

Part

Description

object

Expression that evaluates to an object in the Applies To list

value

SECURITY_TYPE (Replication ActiveX) constant that specifies the mode of security enforced at the Distributor

ms147906.security(fr-fr,SQL.90).gifRemarque relative à la sécurité :

When possible, use Windows Authentication (NT_AUTHENTICATION).

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Notes

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

Data Type

SECURITY_TYPE (Replication ActiveX)

Modifiable

Read/write

Prototype C/C++

HRESULT get_DistributorSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_DistributorSecurityMode(SECURITY_TYPE newVal);