Aracılığıyla paylaş


IUserOptions Interface

The IUserOptions class is an interface that represents a collection of options that is associated with a user.

This API is not CLS-compliant. 

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

Syntax

'Bildirim
<StateChangeEventAttribute("ALTER_USER", "USER", "WINDOWS USER")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<DisplayNameKeyAttribute("IUserOptions_Name")> _
<DisplayDescriptionKeyAttribute("IUserOptions_Desc")> _
<CLSCompliantAttribute(False)> _
<StateChangeEventAttribute("CREATE_USER", "USER", "GROUP USER")> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<StateChangeEventAttribute("CREATE_USER", "USER", "SQL USER")> _
<StateChangeEventAttribute("ALTER_USER", "USER", "SQL USER")> _
<StateChangeEventAttribute("CREATE_USER", "USER", "WINDOWS USER")> _
<StateChangeEventAttribute("ALTER_USER", "USER", "GROUP USER")> _
<StateChangeEventAttribute("CREATE_USER", "USER", "CERTIFICATE USER")> _
<StateChangeEventAttribute("ALTER_USER", "USER", "CERTIFICATE USER")> _
<StateChangeEventAttribute("CREATE_USER", "USER", "ASYMMETRIC KEY USER")> _
<StateChangeEventAttribute("ALTER_USER", "USER", "ASYMMETRIC KEY USER")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public Interface IUserOptions _
    Inherits IDmfFacet
'Kullanım
Dim instance As IUserOptions
[StateChangeEventAttribute("ALTER_USER", "USER", "WINDOWS USER")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute("IUserOptions_Name")]
[DisplayDescriptionKeyAttribute("IUserOptions_Desc")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("CREATE_USER", "USER", "GROUP USER")]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[StateChangeEventAttribute("CREATE_USER", "USER", "SQL USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "SQL USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "WINDOWS USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "GROUP USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "CERTIFICATE USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "CERTIFICATE USER")]
[StateChangeEventAttribute("CREATE_USER", "USER", "ASYMMETRIC KEY USER")]
[StateChangeEventAttribute("ALTER_USER", "USER", "ASYMMETRIC KEY USER")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
public interface IUserOptions : IDmfFacet
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"WINDOWS USER")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute(L"IUserOptions_Name")]
[DisplayDescriptionKeyAttribute(L"IUserOptions_Desc")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"GROUP USER")]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"SQL USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"SQL USER")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"WINDOWS USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"GROUP USER")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"CERTIFICATE USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"CERTIFICATE USER")]
[StateChangeEventAttribute(L"CREATE_USER", L"USER", L"ASYMMETRIC KEY USER")]
[StateChangeEventAttribute(L"ALTER_USER", L"USER", L"ASYMMETRIC KEY USER")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
public interface class IUserOptions : IDmfFacet
[<StateChangeEventAttribute("ALTER_USER", "USER", "WINDOWS USER")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<DisplayNameKeyAttribute("IUserOptions_Name")>]
[<DisplayDescriptionKeyAttribute("IUserOptions_Desc")>]
[<CLSCompliantAttribute(false)>]
[<StateChangeEventAttribute("CREATE_USER", "USER", "GROUP USER")>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<StateChangeEventAttribute("CREATE_USER", "USER", "SQL USER")>]
[<StateChangeEventAttribute("ALTER_USER", "USER", "SQL USER")>]
[<StateChangeEventAttribute("CREATE_USER", "USER", "WINDOWS USER")>]
[<StateChangeEventAttribute("ALTER_USER", "USER", "GROUP USER")>]
[<StateChangeEventAttribute("CREATE_USER", "USER", "CERTIFICATE USER")>]
[<StateChangeEventAttribute("ALTER_USER", "USER", "CERTIFICATE USER")>]
[<StateChangeEventAttribute("CREATE_USER", "USER", "ASYMMETRIC KEY USER")>]
[<StateChangeEventAttribute("ALTER_USER", "USER", "ASYMMETRIC KEY USER")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
type IUserOptions =  
    interface
        interface IDmfFacet
    end
public interface IUserOptions extends IDmfFacet

The IUserOptions type exposes the following members.

Properties

  Name Description
Public property AsymmetricKey Gets a key that is used for encryption and decryption. Asymmetric keys are related and form a key pair.
Public property Certificate Gets a certificate derived from an identifier root.
Public property CreateDate Gets a DateTime object.
Public property DefaultSchema Gets the default database schema.
Public property ID Gets an Int32 identifier.
Public property IsSystemObject Gets a Boolean value that specifies whether or not the interface refers to a Object.
Public property Login Gets a string value that contains a log-in.
Public property LoginType Gets the type of the login.
Public property Name Gets the name of the options referenced by the interface.
Public property Sid Gets the security identifier as a Byte object.
Public property UserType Gets the UserType.

Top

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace