DatasourceOperationsCollection.Add Method
Adds an object to the end of the DatasourceOperationsCollection.
Namespace: Microsoft.ReportingServices.Interfaces
Assemblies: Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
Syntax
'Declaration
Public Function Add ( _
operation As DatasourceOperation _
) As Integer
'Usage
Dim instance As DatasourceOperationsCollection
Dim operation As DatasourceOperation
Dim returnValue As Integer
returnValue = instance.Add(operation)
public int Add(
DatasourceOperation operation
)
public:
int Add(
DatasourceOperation operation
)
member Add :
operation:DatasourceOperation -> int
public function Add(
operation : DatasourceOperation
) : int
Parameters
- operation
Type: Microsoft.ReportingServices.Interfaces.DatasourceOperation
The data source operation to add to the collection.
Return Value
Type: System.Int32
The position into which the new data source operation was inserted.