Интерфейс ILoginOptions

The ILoginOptions class is an interface that represents a collection of options associated with a login.

Этот API-интерфейс несовместим с CLS. 

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayNameKeyAttribute("ILoginOptions_Name")> _
<DisplayDescriptionKeyAttribute("ILoginOptions_Desc")> _
<StateChangeEventAttribute("CREATE_LOGIN", "LOGIN")> _
<StateChangeEventAttribute("ALTER_LOGIN", "LOGIN")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<CLSCompliantAttribute(False)> _
Public Interface ILoginOptions _
    Inherits IDmfFacet
'Применение
Dim instance As ILoginOptions
[DisplayNameKeyAttribute("ILoginOptions_Name")]
[DisplayDescriptionKeyAttribute("ILoginOptions_Desc")]
[StateChangeEventAttribute("CREATE_LOGIN", "LOGIN")]
[StateChangeEventAttribute("ALTER_LOGIN", "LOGIN")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[CLSCompliantAttribute(false)]
public interface ILoginOptions : IDmfFacet
[DisplayNameKeyAttribute(L"ILoginOptions_Name")]
[DisplayDescriptionKeyAttribute(L"ILoginOptions_Desc")]
[StateChangeEventAttribute(L"CREATE_LOGIN", L"LOGIN")]
[StateChangeEventAttribute(L"ALTER_LOGIN", L"LOGIN")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[CLSCompliantAttribute(false)]
public interface class ILoginOptions : IDmfFacet
[<DisplayNameKeyAttribute("ILoginOptions_Name")>]
[<DisplayDescriptionKeyAttribute("ILoginOptions_Desc")>]
[<StateChangeEventAttribute("CREATE_LOGIN", "LOGIN")>]
[<StateChangeEventAttribute("ALTER_LOGIN", "LOGIN")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<CLSCompliantAttribute(false)>]
type ILoginOptions =  
    interface
        interface IDmfFacet
    end
public interface ILoginOptions extends IDmfFacet

Тип ILoginOptions обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство AsymmetricKey Gets or sets the asymmetric key that is associated with the login.
Открытое свойство Certificate Gets or sets the certificate that is associated with the login.
Открытое свойство CreateDate Gets the date and time when the login was created.
Открытое свойство Credential Gets or sets the credential that is associated with the login.
Открытое свойство DefaultDatabase Gets or sets the database that the login uses by default.
Открытое свойство ID Gets the ID value that uniquely identifies the login.
Открытое свойство IsDisabled Gets the Boolean value that determines whether the login is disabled.
Открытое свойство IsLocked Gets the Boolean value that determines whether the login is locked.
Открытое свойство IsSystemObject Gets the Boolean value that determines whether the login is a system object.
Открытое свойство Language Gets or sets the language that is associated with the login.
Открытое свойство LanguageAlias Gets the alternative name that describes the language that is associated with the login.
Открытое свойство MustChangePassword Gets the Boolean value that determines whether the login password must be changed.
Открытое свойство Name Gets or sets the name of the login.
Открытое свойство PasswordExpirationEnabled Gets or sets the Boolean value that determines whether the login password will expire automatically.
Открытое свойство PasswordPolicyEnforced Gets or sets the Boolean value that determines whether the login password must adhere to a policy.

В начало