Udostępnij przez


Login.PasswordExpirationEnabled Property

Gets the Boolean property value that specifies whether the password for the login account will automatically expire.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property PasswordExpirationEnabled As Boolean
[SfcPropertyAttribute] 
public bool PasswordExpirationEnabled { get; set; }
[SfcPropertyAttribute] 
public:
virtual property bool PasswordExpirationEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_PasswordExpirationEnabled ()

/** @property */
public final void set_PasswordExpirationEnabled (boolean value)
public final function get PasswordExpirationEnabled () : boolean

public final function set PasswordExpirationEnabled (value : boolean)

Property Value

A Boolean value that specifies whether the password for the login account will automatically expire. If True, the login account password automatically expires. If False (default), the login account password does not expire automatically.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.