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

成员

成员名称 说明
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.
None Value = 0. There are no login creation options.

注释

The LoginCreateOptions enumeration class is served by the Create method.

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间