DeployedDacCollection.Contains(String, String) Method

Definition

Determines whether the referenced collection contains the specified string.

public:
 bool Contains(System::String ^ name, System::String ^ serverInstanceName);
public bool Contains (string name, string serverInstanceName);
override this.Contains : string * string -> bool
Public Function Contains (name As String, serverInstanceName As String) As Boolean

Parameters

name
String

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

serverInstanceName
String

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

Returns

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

Applies to