Méthode RoleCollection.Find
Gets the Role that has the specified identifier from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Find ( _
id As String _
) As Role
'Utilisation
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
Paramètres
- id
Type : System.String
The identifier of the Role to return.
Valeur de retour
Type : Microsoft.AnalysisServices.Role
The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).