Partager via


Id propriété

Gets the collection item Id.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (dans Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property Id As Integer
    Get
    Private Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Int32
Returns a Int32 value which is the local ID for the collection item.

Notes

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