Udostępnij przez


Właściwość ILoginOptions.MustChangePassword

Pobiera Boolean wartość, która określa, czy należy zmienić hasło logowania.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<DisplayNameKeyAttribute("Login_MustChangePasswordName")> _
<DisplayDescriptionKeyAttribute("Login_MustChangePasswordDesc")> _
ReadOnly Property MustChangePassword As Boolean
    Get
'Użycie
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

Wartość właściwości

Typ: System.Boolean
A Boolean wartość, która określa, czy należy zmienić hasło logowania.
Jeśli True, należy zmienić hasło logowania.W przeciwnym razie jest używana wartość False.