Sdílet prostřednictvím


PolicyCategoryInformation.PolicyId Property

Gets an integer value that contains the policy Id.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public ReadOnly Property PolicyId As Integer
    Get
'Usage
Dim instance As PolicyCategoryInformation
Dim value As Integer

value = instance.PolicyId
public int PolicyId { get; }
public:
property int PolicyId {
    int get ();
}
member PolicyId : int
function get PolicyId () : int

Property Value

Type: System.Int32
An integer value that contains the policy Id.