PolicyCategory propriété
Gets or sets the category that is associated with the policy.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (dans Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
<SfcReferenceAttribute(GetType(PolicyCategory), "PolicyStore/PolicyCategory[@Name='{0}']", _
)> _
Public Property PolicyCategory As String
Get
Set
'Utilisation
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)
Valeur de la propriété
Type : System. . :: . .String
A PolicyCategory object that is associated with the policy.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.