Share via


DataSet.SetSharedDataSetReference Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Sets the reference of the shared dataset.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Sub SetSharedDataSetReference ( _
    sharedDataSet As SharedDataSet, _
    itemPath As String, _
    reportServerUrl As String _
)
'Usage
Dim instance As DataSet 
Dim sharedDataSet As SharedDataSet 
Dim itemPath As String 
Dim reportServerUrl As String

instance.SetSharedDataSetReference(sharedDataSet, _
    itemPath, reportServerUrl)
public void SetSharedDataSetReference(
    SharedDataSet sharedDataSet,
    string itemPath,
    string reportServerUrl
)
public:
void SetSharedDataSetReference(
    SharedDataSet^ sharedDataSet, 
    String^ itemPath, 
    String^ reportServerUrl
)
member SetSharedDataSetReference : 
        sharedDataSet:SharedDataSet * 
        itemPath:string * 
        reportServerUrl:string -> unit
public function SetSharedDataSetReference(
    sharedDataSet : SharedDataSet, 
    itemPath : String, 
    reportServerUrl : String
)

Parameters

  • sharedDataSet
    Type: SharedDataSet
    The shared dataset.
  • itemPath
    Type: System.String
    The item path of the shared dataset.
  • reportServerUrl
    Type: System.String
    The URL of the report server that hosts the shared dataset.

See Also

Reference

DataSet Class

Microsoft.ReportingServices.RdlObjectModel Namespace