Udostępnij przez


Właściwość Policy.CategoryId

Pobiera wartość Identyfikatora, który unikatowo identyfikuje kategorię, która jest skojarzona z zasady.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CategoryId As Integer
    Get
'Użycie
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

Wartość właściwości

Typ: System.Int32
Int32 Wartość, która określa wartość Identyfikatora kategorii.