共用方式為


ILoginOptions.MustChangePassword 屬性

Gets the Boolean value that determines whether the login password must be changed.

命名空間:  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
A Boolean value that determines whether the login password must be changed.If True, the login password must be changed. Otherwise, False.

請參閱

參考

ILoginOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間