共用方式為


Id 屬性

Gets the local ID for the collection set.

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property Id As Integer
    Get
    Private Set
'用途
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)

屬性值

型別:System. . :: . .Int32
A Int32 value that is the ID.

備註

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