Метод Find (String, String)
Gets the specified AdomdRestriction from the collection 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 AdomdRestriction
'Применение
Dim instance As AdomdRestrictionCollection
Dim propertyName As String
Dim propertyNamespace As String
Dim returnValue As AdomdRestriction
returnValue = instance.Find(propertyName, _
propertyNamespace)
public AdomdRestriction Find(
string propertyName,
string propertyNamespace
)
public:
AdomdRestriction^ Find(
String^ propertyName,
String^ propertyNamespace
)
member Find :
propertyName:string *
propertyNamespace:string -> AdomdRestriction
public function Find(
propertyName : String,
propertyNamespace : String
) : AdomdRestriction
Параметры
- propertyName
Тип: System. . :: . .String
The name of the AdomdRestriction to find.
- propertyNamespace
Тип: System. . :: . .String
The namespace of the AdomdRestriction to find.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdRestriction
An AdomdRestriction.
Замечания
If the object is not found, the Find method returns null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) .