Dela via


PolicyCategory.Name Property

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

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.