RegisteredServerCollection.Item Property (String)

 

Gets a RegisteredServer object in the collection by name.

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

public RegisteredServer this[
	string name
] { get; }

Parameters

name
Type: System.String

A String value that specifies the name of the RegisteredServer object in the T:Microsoft.SqlServer.Management.Smo.RegisteredServerCollection collection.

Property Value

Type: Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer

A T:Microsoft.SqlServer.Management.Smo.RegisteredServer object value that represents the registered server.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Return to top
Show: