Share via


DatabasePermissionCollection.Find Method

Gets the DatabasePermission with the specified identifier from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Find ( _
    id As String _
) As DatabasePermission
'Usage
Dim instance As DatabasePermissionCollection
Dim id As String
Dim returnValue As DatabasePermission

returnValue = instance.Find(id)
public DatabasePermission Find(
    string id
)
public:
DatabasePermission^ Find(
    String^ id
)
member Find : 
        id:string -> DatabasePermission 
public function Find(
    id : String
) : DatabasePermission

Parameters

Return Value

Type: Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).