RoleCollection.FindByName Método
Gets the Role that has the specified name from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function FindByName ( _
name As String _
) As Role
'Uso
Dim instance As RoleCollection
Dim name As String
Dim returnValue As Role
returnValue = instance.FindByName(name)
public Role FindByName(
string name
)
public:
Role^ FindByName(
String^ name
)
member FindByName :
name:string -> Role
public function FindByName(
name : String
) : Role
Parámetros
- name
Tipo: System.String
The name of the Role to return.
Valor devuelto
Tipo: Microsoft.AnalysisServices.Role
The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).