Méthode AdomdRestrictionCollection.Find (String)
Gets the specified AdomdRestriction from the collection by its name.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public Function Find ( _
propertyName As String _
) As AdomdRestriction
'Utilisation
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
Paramètres
- propertyName
Type : System.String
The name of the AdomdRestriction to find.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
An AdomdRestriction object.
Notes
If the object is not found, the Find method returns null.