PolicyCategoryInformation.PolicyEnabled 属性

Gets a Boolean value that indicates whether policy is enabled.

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

语法

声明
Public ReadOnly Property PolicyEnabled As Boolean 
    Get
用法
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

属性值

类型:System.Boolean
A Boolean value that indicates whether policy is enabled, True if enabled, otherwise False.

请参阅

参考

PolicyCategoryInformation 类

Microsoft.SqlServer.Management.Dmf 命名空间