NamedComponentCollection.Contains Method (String)

 

Applies To: SQL Server (starting with 2016)

Determines whether an item with the specific key is in the NamedComponentCollection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

public bool Contains(
	string id
)

Parameters

id
Type: System.String

The identifier to locate in the NamedComponentCollection

Return Value

Type: System.Boolean

true if the id found in the NamedComponentCollection; otherwise, false.

Return to top
Show: