Share via


AdomdRestrictionCollection.Find Method (String)

Gets the specified AdomdRestriction from the collection by its name.

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

Syntax

'Declaration
Public Function Find ( _
    propertyName As String _
) As AdomdRestriction
'Usage
Dim instance As AdomdRestrictionCollection 
Dim propertyName As String 
Dim returnValue As AdomdRestriction 

returnValue = instance.Find(propertyName)
public AdomdRestriction Find(
    string propertyName
)
public:
AdomdRestriction^ Find(
    String^ propertyName
)
member Find : 
        propertyName:string -> AdomdRestriction
public function Find(
    propertyName : String
) : AdomdRestriction

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction object.

Remarks

If the object is not found, the Find method returns null.

See Also

Reference

AdomdRestrictionCollection Class

Find Overload

Microsoft.AnalysisServices.AdomdClient Namespace