次の方法で共有


Password プロパティ

Windows 認証を使用しない場合、接続のパスワードを設定します。

名前空間:  Microsoft.SqlServer.Dts.ManagedConnections
アセンブリ:  Microsoft.SqlServer.ManagedConnections (Microsoft.SqlServer.ManagedConnections.dll)

構文

'宣言
Public WriteOnly Property Password As String
    Set
'使用
Dim instance As SMOServerConn
Dim value As String

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

プロパティ値

型: System. . :: . .String
接続のパスワードを指定する String です。

説明

Windows 認証を使用しない場合、接続に使用するパスワードを入力する必要があります。