Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the security mode used when connecting to the Publisher.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property PublisherSecurityMode As SecurityType
Get
Set
'Usage
Dim instance As SqlCeReplication
Dim value As SecurityType
value = instance.PublisherSecurityMode
instance.PublisherSecurityMode = value
public SecurityType PublisherSecurityMode { get; set; }
public:
property SecurityType PublisherSecurityMode {
SecurityType get ();
void set (SecurityType value);
}
member PublisherSecurityMode : SecurityType with get, set
function get PublisherSecurityMode () : SecurityType
function set PublisherSecurityMode (value : SecurityType)
Property Value
Type: System.Data.SqlServerCe. . :: . .SecurityType
The SecurityType constant that specifies the security mode.
Remarks
The SecurityType value can be one of the following constants:
Constant |
Description |
---|---|
SQL Server Authentication (default) |
|
Integrated Windows Authentication |
If this property value is set to DBAuthentication, the PublisherPassword and PublisherLogin properties must be specified.