Freigeben über


PolicyCategory.Name-Eigenschaft

Gets the name of the policy category.

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

Syntax

'Declaration
<SfcPropertyAttribute(ReadOnlyAfterCreation := True)> _
<SfcKeyAttribute()> _
Public ReadOnly Property Name As String 
    Get
'Usage
Dim instance As PolicyCategory 
Dim value As String 

value = instance.Name
[SfcPropertyAttribute(ReadOnlyAfterCreation = true)]
[SfcKeyAttribute()]
public string Name { get; }
[SfcPropertyAttribute(ReadOnlyAfterCreation = true)]
[SfcKeyAttribute()]
public:
property String^ Name {
    String^ get ();
}
[<SfcPropertyAttribute(ReadOnlyAfterCreation = true)>]
[<SfcKeyAttribute()>]
member Name : string
function get Name () : String

Eigenschaftswert

Typ: System.String
A String value that contains the name of the policy category.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

PolicyCategory Klasse

Microsoft.SqlServer.Management.Dmf-Namespace