Share via


MiningModel.FindAttribute Method

Finds the MiningAttribute specified by an attribute ID.

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

Syntax

'Declaration
Public Function FindAttribute ( _
    attributeId As Integer _
) As MiningAttribute
'Usage
Dim instance As MiningModel 
Dim attributeId As Integer 
Dim returnValue As MiningAttribute 

returnValue = instance.FindAttribute(attributeId)
public MiningAttribute FindAttribute(
    int attributeId
)
public:
MiningAttribute^ FindAttribute(
    int attributeId
)
member FindAttribute : 
        attributeId:int -> MiningAttribute
public function FindAttribute(
    attributeId : int
) : MiningAttribute

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.MiningAttribute
A mining attribute with the specified attribute ID.

See Also

Reference

MiningModel Class

Microsoft.AnalysisServices.AdomdClient Namespace