共用方式為


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 版支援此命名空間、類別或成員。

範例

設定屬性