Share via


CollectionItem.Key.Name Property

Gets or sets the key name.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Property Name As String 
    Get 
    Protected Set
'Usage
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)

Property Value

Type: System.String
A String that is the key name.

Remarks

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

See Also

Reference

CollectionItem.Key Class

Microsoft.SqlServer.Management.Collector Namespace