Compartilhar via


Propriedade MustChangePassword

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Login_MustChangePasswordDesc")> _
<DisplayNameKeyAttribute("Login_MustChangePasswordName")> _
ReadOnly Property MustChangePassword As Boolean
    Get
'Uso
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

Valor da propriedade

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