DistributorSecurityMode Property (Replication)
The DistributorSecurityMode property specifies the security mode used when connecting to the Distributor.
Syntax
object.DistributorSecurityMode [= value]
Parameters
- value
The SECURITY_TYPE constant that specifies the mode of security enforced at the Distributor.
Applies To
SQL Server Compact 3.5 Replication object
Data Type
SECURITY_TYPE
Constant | Value | Description |
---|---|---|
DB_AUTHENTICATION |
0 |
Standard security (Default) |
NT_AUTHENTICATION |
1 |
Integrated security |
Modifiable
Read/write
Prototype
HRESULT get_DistributorSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_DistributorSecurityMode(SECURITY_TYPE newVal);
Remarks
If the value is set to DB_AUTHENTICATION (the 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 no Distributor connection property is specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and the Publisher connection properties are used when connecting to the Distributor. However, if you set any one of the Distributor connection properties, you must set all of the required Distributor properties.
See Also
Reference
DistributorLogin Property (Replication)
DistributorPassword Property (Replication)
Replication Object Properties