DistributorSecurityMode 属性
Gets or sets the security mode that is used when connecting to the Distributor.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
Public Overridable Property DistributorSecurityMode As SecurityMode
Get
Set
用法
Dim instance As TransSynchronizationAgent
Dim value As SecurityMode
value = instance.DistributorSecurityMode
instance.DistributorSecurityMode = value
public virtual SecurityMode DistributorSecurityMode { get; set; }
public:
virtual property SecurityMode DistributorSecurityMode {
SecurityMode get ();
void set (SecurityMode value);
}
abstract DistributorSecurityMode : SecurityMode with get, set
override DistributorSecurityMode : SecurityMode with get, set
function get DistributorSecurityMode () : SecurityMode
function set DistributorSecurityMode (value : SecurityMode)
属性值
类型:Microsoft.SqlServer.Replication. . :: . .SecurityMode
A SecurityMode value that represents the security mode.
实现
注释
请尽可能使用 Windows 身份验证。
If the value is Standard, the DistributorLogin and DistributorPassword properties must also be specified.
For a push subscription, the Distribution Agent always connects to the Distributor locally by using Windows Integrated Authentication, and this property is ignored.