Share via


CollectionSet.Name Property

Gets or sets the name of the collection set.

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

Syntax

'Declaration
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public Property Name As String 
    Get 
    Set
'Usage
Dim instance As CollectionSet 
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)

Property Value

Type: System.String
A String value that is the collection set name.

Remarks

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

See Also

Reference

CollectionSet Class

Microsoft.SqlServer.Management.Collector Namespace