共用方式為


CollectionItem.Key.Name 屬性

Gets or sets the key name.

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

語法

'宣告
Public Property Name As String 
    Get 
    Protected Set
'用途
Dim instance As CollectionItem.Key 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; protected set; }
public:
property String^ Name {
    String^ get ();
    protected: void set (String^ value);
}
member Name : string with get, set
function get Name () : String 
protected function set Name (value : String)

屬性值

型別:System.String
A String that is the key name.

備註

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

請參閱

參考

CollectionItem.Key 類別

Microsoft.SqlServer.Management.Collector 命名空間