Share via


DataSet.SetSharedDataSetReference(SharedDataSet, String, String) Method

Definition

Sets the reference of the shared dataset.

public:
 void SetSharedDataSetReference(Microsoft::ReportingServices::RdlObjectModel::SharedDataSets::SharedDataSet ^ sharedDataSet, System::String ^ itemPath, System::String ^ reportServerUrl);
public void SetSharedDataSetReference (Microsoft.ReportingServices.RdlObjectModel.SharedDataSets.SharedDataSet sharedDataSet, string itemPath, string reportServerUrl);
member this.SetSharedDataSetReference : Microsoft.ReportingServices.RdlObjectModel.SharedDataSets.SharedDataSet * string * string -> unit
Public Sub SetSharedDataSetReference (sharedDataSet As SharedDataSet, itemPath As String, reportServerUrl As String)

Parameters

sharedDataSet
SharedDataSet

The shared dataset.

itemPath
String

The item path of the shared dataset.

reportServerUrl
String

The URL of the report server that hosts the shared dataset.

Applies to