RegisteredServer.Key.Name Property

Gets the name of the object key.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As RegisteredServer..::..Key
Dim value As String

value = instance.Name
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
member Name : string
function get Name () : String

Property Value

Type: System.String
A string that specifies the name of the object.