INamedComponentCollection.Contains Method (String)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicates whether the collection contains the AttributeRelationship, identified by attributeId.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Function Contains ( _
id As String _
) As Boolean
'Usage
Dim instance As INamedComponentCollection
Dim id As String
Dim returnValue As Boolean
returnValue = instance.Contains(id)
bool Contains(
string id
)
bool Contains(
String^ id
)
abstract Contains :
id:string -> bool
function Contains(
id : String
) : boolean
Parameters
- id
Type: System.String
The identifier.
Return Value
Type: System.Boolean
true if the identified AttributeRelationship exists in the collection; otherwise, false.