Udostępnij za pośrednictwem


IUserOptions Interface

Definition

Important

This API is not CLS-compliant.

[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnChanges | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.Enforce)]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "SQL USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "SQL USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "WINDOWS USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "WINDOWS USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "GROUP USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "GROUP USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "CERTIFICATE USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "CERTIFICATE USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "ASYMMETRIC KEY USER")]
[Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "ASYMMETRIC KEY USER")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("IUserOptions_Desc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("IUserOptions_Name")]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[System.CLSCompliant(false)]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public interface IUserOptions : Microsoft.SqlServer.Management.Sdk.Sfc.IDmfFacet
[<Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnChanges | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule | Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.Enforce)>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "SQL USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "SQL USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "WINDOWS USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "WINDOWS USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "GROUP USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "GROUP USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "CERTIFICATE USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "CERTIFICATE USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("CREATE_USER", "USER", "ASYMMETRIC KEY USER")>]
[<Microsoft.SqlServer.Management.Facets.StateChangeEvent("ALTER_USER", "USER", "ASYMMETRIC KEY USER")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("IUserOptions_Desc")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("IUserOptions_Name")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<System.CLSCompliant(false)>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))>]
type IUserOptions = interface
    interface IDmfFacet
Public Interface IUserOptions
Implements IDmfFacet
Derived
Attributes
Implements

Properties

AsymmetricKey
Certificate
CreateDate
DefaultSchema
ID
IsSystemObject
Login
LoginType
Name
Sid
UserType

Applies to