IDatabaseSecurityFacet Interface

Security facet interface.

This API is not CLS-compliant. 

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

The IDatabaseSecurityFacet type exposes the following members.

Properties

  Name Description
Public property IsOwnerSysadmin Gets a Boolean value that specifies if the DBO is a system administrator.
Public property Trustworthy Gets or sets a Boolean value that specifies if the database is trusted by the instance of SQL Server.

Top

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace