共用方式為


PolicyCategoryInformation.PolicyId 屬性

Gets an integer value that contains the policy Id.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public ReadOnly Property PolicyId As Integer 
    Get
'用途
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

屬性值

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

請參閱

參考

PolicyCategoryInformation 類別

Microsoft.SqlServer.Management.Dmf 命名空間