SecureSqlStandardPassword プロパティ

SQL Server 認証を使用する際の SqlStandardLogin に対するパスワードを SecureString オブジェクトとして設定します。

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

構文

'宣言
Public Property SecureSqlStandardPassword As SecureString
    Get
    Set
'使用
Dim instance As PublisherConnectionSecurityContext
Dim value As SecureString

value = instance.SecureSqlStandardPassword

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

プロパティ値

型: System.Security. . :: . .SecureString
SecureString オブジェクトです。

説明

可能な場合は、Windows 認証を使用します。

SecureSqlStandardPassword プロパティでは、パスワードがメモリに保持されている間のセキュリティが強化されています。パスワードを設定するときには、SqlStandardPassword プロパティではなくこのプロパティを使用してください。

可能な場合は、実行時にセキュリティ資格情報の入力を求めるメッセージをユーザーに対して表示します。資格情報を保存する必要がある場合は、Microsoft Windows .NET Framework に用意されているcryptographic servicesを使用します。

この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。