Freigeben über


LoginCreateOptions-Enumeration

The LoginCreateOptions enumeration contains values that are used to specify the password options when you create a logon.

Diese Enumeration verfügt über ein FlagsAttribute-Attribut, das die bitweise Kombination der Elementwerte zulässt.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration LoginCreateOptions
'Usage
Dim instance As LoginCreateOptions
[FlagsAttribute]
public enum LoginCreateOptions
[FlagsAttribute]
public enum class LoginCreateOptions
[<FlagsAttribute>]
type LoginCreateOptions
public enum LoginCreateOptions

Elemente

Elementname Beschreibung
None Value = 0. There are no login creation options.
IsHashed Value = 1.The password has already been hashed, which allows passwords to be reapplied to a logon.
MustChange Value = 2. The user must change their password when they next attempt a logon.

Hinweise

The LoginCreateOptions enumeration class is served by the Create method.