IDatabaseSecurityFacet 接口

Security facet interface.

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("IDatabaseSecurityFacet_Name")> _
<DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_Desc")> _
<CLSCompliantAttribute(False)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
Public Interface IDatabaseSecurityFacet _
    Inherits IDmfFacet
用法
Dim instance As IDatabaseSecurityFacet
[DisplayNameKeyAttribute("IDatabaseSecurityFacet_Name")]
[DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_Desc")]
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface IDatabaseSecurityFacet : IDmfFacet
[DisplayNameKeyAttribute(L"IDatabaseSecurityFacet_Name")]
[DisplayDescriptionKeyAttribute(L"IDatabaseSecurityFacet_Desc")]
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface class IDatabaseSecurityFacet : IDmfFacet
[<DisplayNameKeyAttribute("IDatabaseSecurityFacet_Name")>]
[<DisplayDescriptionKeyAttribute("IDatabaseSecurityFacet_Desc")>]
[<CLSCompliantAttribute(false)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
type IDatabaseSecurityFacet =  
    interface
        interface IDmfFacet
    end
public interface IDatabaseSecurityFacet extends IDmfFacet

IDatabaseSecurityFacet 类型公开以下成员。

属性

  名称 说明
公共属性 IsOwnerSysadmin Gets a Boolean value that specifies if the DBO is a system administrator.
公共属性 Trustworthy Gets or sets a Boolean value that specifies if the database is trusted by the instance of SQL Server.

页首