PolicyCategory 속성
Gets or sets the category that is associated with the subscription.
네임스페이스: Microsoft.SqlServer.Management.Dmf
어셈블리: Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)
구문
‘선언
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/PolicyCategory[@Name='{0}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property PolicyCategory As String
Get
Set
‘사용 방법
Dim instance As PolicyCategorySubscription
Dim value As String
value = instance.PolicyCategory
instance.PolicyCategory = value
[SfcReferenceAttribute(typeof(Condition), "PolicyStore/PolicyCategory[@Name='{0}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string PolicyCategory { get; set; }
[SfcReferenceAttribute(typeof(Condition), L"PolicyStore/PolicyCategory[@Name='{0}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ PolicyCategory {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(Condition), "PolicyStore/PolicyCategory[@Name='{0}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member PolicyCategory : string with get, set
function get PolicyCategory () : String
function set PolicyCategory (value : String)
속성 값
유형: System. . :: . .String
A PolicyCategory object value that specifies the category thatis associated with the subscription.
주의
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.