共用方式為


DatasourceOperationsCollection.Add Method

Adds an object to the end of the DatasourceOperationsCollection.

命名空間: Microsoft.ReportingServices.Interfaces
組件: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

語法

'宣告
Public Function Add ( _
    operation As DatasourceOperation _
) As Integer
public int Add (
    DatasourceOperation operation
)
public:
int Add (
    DatasourceOperation operation
)
public int Add (
    DatasourceOperation operation
)
public function Add (
    operation : DatasourceOperation
) : int

參數

  • operation
    The data source operation to add to the collection.

傳回值

The position into which the new data source operation was inserted.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DatasourceOperationsCollection Class
DatasourceOperationsCollection Members
Microsoft.ReportingServices.Interfaces Namespace