ComputerCollection.Contains Method (String)

 

Determines whether the referenced collection contains the specified string.

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

public bool Contains(
	string name
)

Parameters

name
Type: System.String

A String value that specifies the computer name to search for in the collection.

Return Value

Type: System.Boolean

A Boolean value that determines whether the collection contains the specified string. If True, it contains the string.

Return to top
Show: