Partilhar via


Propriedade do RDL PolicyCategorySubscription.PolicyCategory

Gets or sets the category that is associated with the subscription.

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

Sintaxe

'Declaração
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/PolicyCategory[@Name='{0}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property PolicyCategory As String 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: System.String
A PolicyCategory object value that specifies the category thatis associated with the subscription.

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

PolicyCategorySubscription Classe

Namespace Microsoft.SqlServer.Management.Dmf