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)

구문

‘선언
<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
‘사용 방법
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

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.

맨 위로 이동

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스