PublisherConnectionSecurityContext.SecurityMode 属性

Get or sets the type of login used when connecting to the Publisher.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Property SecurityMode As ReplicationSecurityMode 
    Get 
    Set
用法
Dim instance As PublisherConnectionSecurityContext 
Dim value As ReplicationSecurityMode 

value = instance.SecurityMode

instance.SecurityMode = value
public ReplicationSecurityMode SecurityMode { get; set; }
public:
property ReplicationSecurityMode SecurityMode {
    ReplicationSecurityMode get ();
    void set (ReplicationSecurityMode value);
}
member SecurityMode : ReplicationSecurityMode with get, set
function get SecurityMode () : ReplicationSecurityMode 
function set SecurityMode (value : ReplicationSecurityMode)

属性值

类型:Microsoft.SqlServer.Replication.ReplicationSecurityMode
A ReplicationSecurityMode value.

注释

请尽可能使用 Windows 身份验证。 

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

请参阅

参考

PublisherConnectionSecurityContext 类

Microsoft.SqlServer.Replication 命名空间