Export (0) Print
Expand All
Expand Minimize

DistributorSecurityMode Property (Replication)

SQL Server 2000

DistributorSecurityMode Property (Replication)

The DistributorSecurityMode property specifies the security mode used when connecting to the Distributor.

Applies To

SQL Server CE Replication object

Syntax
object.DistributorSecurityMode [= value]
Part Description
object SQL Server CE Replication object
value SECURITY_TYPE constant that specifies the mode of security enforced at the Distributor
Data Type

SECURITY_TYPE

Constant Value Description
DB_AUTHENTICATION 0 Standard security (Default)
NT_AUTHENTICATION 1 Integrated security
Modifiable

Read/write

Prototype eVC++
HRESULT get_DistributorSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_DistributorSecurityMode(SECURITY_TYPE newVal);
Remarks

If the value is DB_AUTHENTICATION (default), DistributorLogin and DistributorPassword are used when connecting to the Distributor. If the value is NT_AUTHENTICATION, the Microsoft Internet Information Services (IIS) Windows user account is used when connecting to the Distributor.

If none of the Distributor connection properties are not specified, it is assumed the Publisher and Distributor are on the same instance of Microsoft SQL Server™, and the Publisher connection properties are used when connecting to the Distributor. However, if you set any of the Distributor connection properties, you must set all of the required Distributor properties.

See Also
DistributorLogin Property (Replication)

DistributorPassword Property (Replication)

Replication Object Properties

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft