Share via


Propriété MustChangePassword

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Login_MustChangePasswordName")> _
<DisplayDescriptionKeyAttribute("Login_MustChangePasswordDesc")> _
ReadOnly Property MustChangePassword As Boolean
    Get
'Utilisation
Dim instance As ILoginOptions
Dim value As Boolean

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

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value that determines whether the login password must be changed.
If True, the login password must be changed. Otherwise, False.