共用方式為


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.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。