Name 属性

Gets the name of the policy category.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<SfcKeyAttribute()> _
<SfcPropertyAttribute(ReadOnlyAfterCreation := True)> _
Public ReadOnly Property Name As String
    Get
用法
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

属性值

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

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

设置属性