AttributeRelationshipCollection.Find Method
Gets the AttributeRelationship, with the specified attributeId, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Find ( _
attributeId As String _
) As AttributeRelationship
'Usage
Dim instance As AttributeRelationshipCollection
Dim attributeId As String
Dim returnValue As AttributeRelationship
returnValue = instance.Find(attributeId)
public AttributeRelationship Find(
string attributeId
)
public:
AttributeRelationship^ Find(
String^ attributeId
)
member Find :
attributeId:string -> AttributeRelationship
public function Find(
attributeId : String
) : AttributeRelationship
Parameters
- attributeId
Type: System.String
Identifies the AttributeRelationship to be returned.
Return Value
Type: Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).