Propriedade PolicyCategory
Gets or sets the category that is associated with the policy.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
<SfcReferenceAttribute(GetType(PolicyCategory), "PolicyStore/PolicyCategory[@Name='{0}']", _
)> _
Public Property PolicyCategory As String
Get
Set
'Uso
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)
Valor da propriedade
Tipo: System. . :: . .String
A PolicyCategory object that is associated with the policy.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Consulte também