Freigeben über


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
<SfcKeyAttribute()> _
<SfcPropertyAttribute(ReadOnlyAfterCreation := True)> _
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As PolicyCategory
Dim value As String

value = instance.Name
[SfcKeyAttribute()]
[SfcPropertyAttribute(ReadOnlyAfterCreation = true)]
public string Name { get; }
[SfcKeyAttribute()]
[SfcPropertyAttribute(ReadOnlyAfterCreation = true)]
public:
property String^ Name {
    String^ get ();
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(ReadOnlyAfterCreation = true)>]
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.