Share via


LoginCreateOptions Enumeration

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

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
<FlagsAttribute> _
Public Enumeration LoginCreateOptions
[FlagsAttribute] 
public enum LoginCreateOptions
[FlagsAttribute] 
public enum class LoginCreateOptions
/** @attribute FlagsAttribute() */ 
public enum LoginCreateOptions
FlagsAttribute 
public enum LoginCreateOptions

Members

Member name Description
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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.Management.Smo Namespace