Condividi tramite


Metodo RoleCollection.Find

Gets the Role that has the specified identifier from the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Find ( _
    id As String _
) As Role
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.Role
The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Vedere anche

Riferimento

RoleCollection Classe

Spazio dei nomi Microsoft.AnalysisServices