다음을 통해 공유


Computer.IdentityKey 속성

Gets the key value that uniquely identifies the Computer object.

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

구문

‘선언
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Computer.Key 
    Get
‘사용 방법
Dim instance As Computer 
Dim value As Computer.Key 

value = instance.IdentityKey
[SfcIgnoreAttribute]
public Computer.Key IdentityKey { get; }
[SfcIgnoreAttribute]
public:
property Computer.Key^ IdentityKey {
    Computer.Key^ get ();
}
[<SfcIgnoreAttribute>]
member IdentityKey : Computer.Key
function get IdentityKey () : Computer.Key

속성 값

유형: Microsoft.SqlServer.Management.Utility.Computer.Key
A Computer.Key value that uniquely identifies the object.

VC#

System.Console.WriteLine(computer.IdentityKey);

VB

System.Console.WriteLine(computer.IdentityKey)

PowerShell

Write-Host $computer.IdentityKey 

참고 항목

참조

Computer 클래스

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