共用方式為


Find 方法

Gets the AttributeRelationship, with the specified attributeId, from the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Find ( _
    attributeId As String _
) As AttributeRelationship
'用途
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

參數

傳回值

型別:Microsoft.AnalysisServices. . :: . .AttributeRelationship
The AttributeRelationship if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).