Contains Method (String, String)
Collapse the table of content
Expand the table of content

DeployedDacCollection.Contains Method (String, 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,
	string serverInstanceName
)

Parameters

name
Type: System.String

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

serverInstanceName
Type: System.String

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

Return Value

Type: System.Boolean

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

Return to top
Show:
© 2016 Microsoft