Propriété PolicyCategoryInformation.PolicyEnabled
Gets a Boolean value that indicates whether policy is enabled.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public ReadOnly Property PolicyEnabled As Boolean
Get
'Utilisation
Dim instance As PolicyCategoryInformation
Dim value As Boolean
value = instance.PolicyEnabled
public bool PolicyEnabled { get; }
public:
property bool PolicyEnabled {
bool get ();
}
member PolicyEnabled : bool
function get PolicyEnabled () : boolean
Valeur de propriété
Type : System.Boolean
A Boolean value that indicates whether policy is enabled, True if enabled, otherwise False.