PolicyCategory 屬性
Gets or sets the category that is associated with the policy.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
<SfcReferenceAttribute(GetType(PolicyCategory), "PolicyStore/PolicyCategory[@Name='{0}']", _
)> _
Public Property PolicyCategory As String
Get
Set
'用途
Dim instance As Policy
Dim value As String
value = instance.PolicyCategory
instance.PolicyCategory = value
[SfcPropertyAttribute(SfcPropertyFlags.None)]
[SfcReferenceAttribute(typeof(PolicyCategory), "PolicyStore/PolicyCategory[@Name='{0}']",
)]
public string PolicyCategory { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
[SfcReferenceAttribute(typeof(PolicyCategory), L"PolicyStore/PolicyCategory[@Name='{0}']",
)]
public:
property String^ PolicyCategory {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
[<SfcReferenceAttribute(typeof(PolicyCategory), "PolicyStore/PolicyCategory[@Name='{0}']",
)>]
member PolicyCategory : string with get, set
function get PolicyCategory () : String
function set PolicyCategory (value : String)
屬性值
型別:System. . :: . .String
A PolicyCategory object that is associated with the policy.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。