Policy.CategoryId 属性

Gets the ID value that uniquely identifies the category that is associated with the policy.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CategoryId As Integer 
    Get
用法
Dim instance As Policy 
Dim value As Integer 

value = instance.CategoryId
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int CategoryId { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int CategoryId {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member CategoryId : int
function get CategoryId () : int

属性值

类型:System.Int32
An Int32 value that specifies the category ID value.

请参阅

参考

Policy 类

Microsoft.SqlServer.Management.Dmf 命名空间