Метод AdomdPropertyCollection.Find (String, String)
Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)
Синтаксис
'Декларация
Public Function Find ( _
propertyName As String, _
propertyNamespace As String _
) As AdomdProperty
'Применение
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
Параметры
- propertyName
Тип: System.String
The name of the AdomdProperty to find.
- propertyNamespace
Тип: System.String
The namespace of the AdomdProperty to find.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The ADO multidimensional property.
Замечания
If the object is not found, the Find method returns nullпустая ссылка (Nothing в Visual Basic).