Share 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
<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

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.