次の方法で共有


TransSynchronizationAgent.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
The security mode.

実装

ITransSynchronizationAgent.DistributorSecurityMode

説明

可能な場合は、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.

関連項目

参照

TransSynchronizationAgent クラス

Microsoft.SqlServer.Replication 名前空間