Partager via


AdomdRestrictionCollection.Find Method (String, String)

Gets the specified AdomdRestriction from the collection by its name and namespace.

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
Public Function Find ( _
    propertyName As String, _
    propertyNamespace As String _
) As AdomdRestriction
public AdomdRestriction Find (
    string propertyName,
    string propertyNamespace
)
public:
AdomdRestriction^ Find (
    String^ propertyName, 
    String^ propertyNamespace
)
public AdomdRestriction Find (
    String propertyName, 
    String propertyNamespace
)
public function Find (
    propertyName : String, 
    propertyNamespace : String
) : AdomdRestriction

Paramètres

  • propertyNamespace
    The namespace of the AdomdRestriction to find.

Valeur de retour

An AdomdRestriction.

Notes

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

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace