Computer.ID 속성

Gets the ID value that uniquely identifies the computer.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property ID As Integer 
    Get 
    Friend Set
‘사용 방법
Dim instance As Computer 
Dim value As Integer 

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

속성 값

유형: System.Int32
A Int32 value that specifies the ID value that uniquely identifies the computer.

VC#

System.Console.WriteLine(computer.ID);

VB

System.Console.WriteLine(computer.ID)

PowerShell

Write-Host $computer.ID 

참고 항목

참조

Computer 클래스

Microsoft.SqlServer.Management.Utility 네임스페이스