Share via


CollectionItem.Id Property

Gets the collection item Id.

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 CollectionItem
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
Returns a Int32 value which is the local ID for the collection item.

Remarks

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