DistributorPassword プロパティ

ディストリビュータへの接続時に使用するログイン パスワードを指定します。

名前空間:  System.Data.SqlServerCe
アセンブリ:  System.Data.SqlServerCe (System.Data.SqlServerCe.dll)

構文

'宣言
Public Property DistributorPassword As String
    Get
    Set
'使用
Dim instance As SqlCeReplication
Dim value As String

value = instance.DistributorPassword

instance.DistributorPassword = value
public string DistributorPassword { get; set; }
public:
property String^ DistributorPassword {
    String^ get ();
    void set (String^ value);
}
member DistributorPassword : string with get, set
function get DistributorPassword () : String
function set DistributorPassword (value : String)

プロパティ値

型: System. . :: . .String
ディストリビュータへの接続時に使用するパスワード。

説明

DistributorPassword は、DistributorSecurityMode が DBAuthentication に設定されている場合にだけ使用されます。

ディストリビュータの接続プロパティが指定されていない場合、パブリッシャとディストリビュータは同じ SQL Server インスタンス上にあると見なされ、ディストリビュータへの接続時にはパブリッシャの接続プロパティが使用されます。ただし、ディストリビュータの接続のプロパティのいずれかを設定するときは、ディストリビュータのすべての必須プロパティを設定する必要があります。

関連項目

参照

SqlCeReplication クラス

SqlCeReplication メンバー

System.Data.SqlServerCe 名前空間