PublisherSecurityMode Property (Replication)
The PublisherSecurityMode property specifies the security mode used when connecting to the Publisher.
Syntax
object.PublisherSecurityMode [= value]
Parameters
- value
SECURITY_TYPE constant that specifies the security type.
Applies To
SQL Server 2005 Compact Edition Replication object
Data Type
SECURITY_TYPE
Constant | Value | Description |
---|---|---|
DB_AUTHENTICATION |
0 |
SQL Server Authentication (Default) |
NT_AUTHENTICATION |
1 |
Windows Authentication |
Modifiable
Read/write
Prototype
HRESULT get_PublisherSecurityMode(SECURITY_TYPE *pVal);
HRESULT put_PublisherSecurityMode(SECURITY_TYPE newVal);
Remarks
If PublisherSecurityMode is set to DB_AUTHENTICATION (default), then PublisherLogin must be specified. The default for PublisherPassword is an empty string.
See Also
Reference
PublisherLogin Property (Replication)
PublisherPassword Property (Replication)
Replication Object Properties