AdomdPropertyCollection.Find Method (String, String)
Gets the specified AdomdProperty from the AdomdPropertyCollection 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 AdomdProperty
'Usage
Dim instance As AdomdPropertyCollection
Dim propertyName As String
Dim propertyNamespace As String
Dim returnValue As AdomdProperty
returnValue = instance.Find(propertyName, _
propertyNamespace)
public AdomdProperty Find(
string propertyName,
string propertyNamespace
)
public:
AdomdProperty^ Find(
String^ propertyName,
String^ propertyNamespace
)
member Find :
propertyName:string *
propertyNamespace:string -> AdomdProperty
public function Find(
propertyName : String,
propertyNamespace : String
) : AdomdProperty
Parameters
- propertyName
Type: System.String
The name of the AdomdProperty to find.
- propertyNamespace
Type: System.String
The namespace of the AdomdProperty to find.
Return Value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
An AdomdProperty.
Remarks
If the object is not found, the Find method returns nulla null reference (Nothing in Visual Basic).