Share via


CollectionSet.Id Property

Gets the local ID for the collection set.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property Id As Integer 
    Get 
    Private Set
'Usage
Dim instance As CollectionSet 
Dim value As Integer 

value = instance.Id
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int Id { get; private set; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int Id {
    int get ();
    private: void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member Id : int with get, private set
function get Id () : int 
private function set Id (value : int)

Property Value

Type: System.Int32
A Int32 value that is the ID.

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