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
'Declaration
Public Property PasswordExpirationEnabled As Boolean
public bool PasswordExpirationEnabled { get; set; }
public:
property bool PasswordExpirationEnabled {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_PasswordExpirationEnabled ()
/** @property */
public void set_PasswordExpirationEnabled (boolean value)
public function get PasswordExpirationEnabled () : boolean
public function set PasswordExpirationEnabled (value : boolean)
Eigenschaftswert
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.
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.
Beispiel
How to: Enumerate Logins and Associated Users in Visual Basic .NET
Threadsicherheit
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.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
Login Class
Login Members
Microsoft.SqlServer.Management.Smo Namespace
Andere Ressourcen
Managing Users, Roles, and Logins
Prinzipale
CREATE LOGIN (Transact-SQL)