共用方式為


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.

上層

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間