Freigeben über


ILoginOptions-Schnittstelle

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

Diese API ist nicht mit CLS kompatibel. 

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

Syntax

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

Der ILoginOptions-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AsymmetricKey Gets or sets the asymmetric key that is associated with the login.
Öffentliche Eigenschaft Certificate Gets or sets the certificate that is associated with the login.
Öffentliche Eigenschaft CreateDate Gets the date and time when the login was created.
Öffentliche Eigenschaft Credential Gets or sets the credential that is associated with the login.
Öffentliche Eigenschaft DefaultDatabase Gets or sets the database that the login uses by default.
Öffentliche Eigenschaft ID Gets the ID value that uniquely identifies the login.
Öffentliche Eigenschaft IsDisabled Gets the Boolean value that determines whether the login is disabled.
Öffentliche Eigenschaft IsLocked Gets the Boolean value that determines whether the login is locked.
Öffentliche Eigenschaft IsSystemObject Gets the Boolean value that determines whether the login is a system object.
Öffentliche Eigenschaft Language Gets or sets the language that is associated with the login.
Öffentliche Eigenschaft LanguageAlias Gets the alternative name that describes the language that is associated with the login.
Öffentliche Eigenschaft MustChangePassword Gets the Boolean value that determines whether the login password must be changed.
Öffentliche Eigenschaft Name Gets or sets the name of the login.
Öffentliche Eigenschaft PasswordExpirationEnabled Gets or sets the Boolean value that determines whether the login password will expire automatically.
Öffentliche Eigenschaft PasswordPolicyEnforced Gets or sets the Boolean value that determines whether the login password must adhere to a policy.

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace