Метод RoleCollection.Find
Gets the Role that has the specified identifier from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Find ( _
id As String _
) As Role
'Применение
Dim instance As RoleCollection
Dim id As String
Dim returnValue As Role
returnValue = instance.Find(id)
public Role Find(
string id
)
public:
Role^ Find(
String^ id
)
member Find :
id:string -> Role
public function Find(
id : String
) : Role
Параметры
- id
Тип: System.String
The identifier of the Role to return.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.Role
The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).