RegisteredServerCollection.Contains Method (String)

 

Determines whether the specified registered server exists in the referenced collection.

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

public bool Contains(
	string name
)

Parameters

name
Type: System.String

A String value that specifies the name of the registered server.

Return Value

Type: System.Boolean

A Boolean which indicates whether the specified registered server exists in the referenced collection.

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

Return to top
Show: