Freigeben über


IDatabaseSecurityFacet-Schnittstelle

Security facet interface.

Diese API ist nicht mit CLS kompatibel. 

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

Syntax

'Declaration
<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
'Usage
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

Der IDatabaseSecurityFacet-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft IsOwnerSysadmin Gets a Boolean value that specifies if the DBO is a system administrator.
Öffentliche Eigenschaft Trustworthy Gets or sets a Boolean value that specifies if the database is trusted by the instance of SQL Server.

Zum Anfang