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