AdomdRestrictionCollection.Find Method (String, String)
Gets the specified AdomdRestriction from the collection by its name and namespace.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
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
Parameters
- propertyName
The name of the AdomdRestriction to find.
- propertyNamespace
The namespace of the AdomdRestriction to find.
Return Value
An AdomdRestriction.
Remarks
If the object is not found, the Find method returns null.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace