共用方式為


Name 屬性

取得或設定收集項名稱。

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public Property Name As String
    Get
    Set
'用途
Dim instance As CollectionItem
Dim value As String

value = instance.Name

instance.Name = value
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public string Name { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute>]
member Name : string with get, set
function get Name () : String
function set Name (value : String)

屬性值

型別:System. . :: . .String
String 值,其中包含收集項的名稱。

備註

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