共用方式為


LoginCreateOptions 列舉

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

此列舉有一個允許其成員值為位元組合的 FlagsAttribute 屬性。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<FlagsAttribute> _
Public Enumeration LoginCreateOptions
'用途
Dim instance As LoginCreateOptions
[FlagsAttribute]
public enum LoginCreateOptions
[FlagsAttribute]
public enum class LoginCreateOptions
[<FlagsAttribute>]
type LoginCreateOptions
public enum LoginCreateOptions

成員

成員名稱 說明
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.

備註

The LoginCreateOptions enumeration class is served by the Create method.