DataSourcePermissionCollection.Find Method
Gets the DataSourcePermission 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 DataSourcePermission
'Usage
Dim instance As DataSourcePermissionCollection
Dim id As String
Dim returnValue As DataSourcePermission
returnValue = instance.Find(id)
public DataSourcePermission Find(
string id
)
public:
DataSourcePermission^ Find(
String^ id
)
member Find :
id:string -> DataSourcePermission
public function Find(
id : String
) : DataSourcePermission
Parameters
- id
Type: System.String
The identifier of the DataSourcePermission to be returned.
Return Value
Type: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).