共用方式為


ID 屬性

Gets the ID value that uniquely identifies the registered server.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ID As Integer
    Get
'用途
Dim instance As RegisteredServer
Dim value As Integer

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ID : int
function get ID () : int

屬性值

型別:System. . :: . .Int32
An Int32 value that contains the ID value that uniquely identifies the registered server.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。