Compartilhar via


Método AdomdRestrictionCollection.Find (String)

Gets the specified AdomdRestriction from the collection by its name.

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

Sintaxe

'Declaração
Public Function Find ( _
    propertyName As String _
) As AdomdRestriction
'Uso
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

Parâmetros

Valor de retorno

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

Comentários

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

Consulte também

Referência

AdomdRestrictionCollection Classe

Sobrecarregado Find

Namespace Microsoft.AnalysisServices.AdomdClient