次の方法で共有


ILoginOptions.MustChangePassword プロパティ

ログイン パスワードを変更する必要があるかどうかを示す Boolean 値を取得します。

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

構文

'宣言
<DisplayDescriptionKeyAttribute("Login_MustChangePasswordDesc")> _
<DisplayNameKeyAttribute("Login_MustChangePasswordName")> _
ReadOnly Property MustChangePassword As Boolean 
    Get
'使用
Dim instance As ILoginOptions 
Dim value As Boolean 

value = instance.MustChangePassword
[DisplayDescriptionKeyAttribute("Login_MustChangePasswordDesc")]
[DisplayNameKeyAttribute("Login_MustChangePasswordName")]
bool MustChangePassword { get; }
[DisplayDescriptionKeyAttribute(L"Login_MustChangePasswordDesc")]
[DisplayNameKeyAttribute(L"Login_MustChangePasswordName")]
property bool MustChangePassword {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("Login_MustChangePasswordDesc")>]
[<DisplayNameKeyAttribute("Login_MustChangePasswordName")>]
abstract MustChangePassword : bool
function get MustChangePassword () : boolean

プロパティ値

型: System.Boolean
ログイン パスワードを変更する必要があるかどうかを示す Boolean 値です。 True の場合、ログイン パスワードを変更する必要があります。False の場合、変更する必要はありません。

関連項目

参照

ILoginOptions インターフェイス

Microsoft.SqlServer.Management.Smo 名前空間