Sdílet prostřednictvím


Report.GetDataScopesFor Method

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

Gets the data scopes for the report.

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

Syntax

'Declaration
Public Function GetDataScopesFor ( _
    obj As IContainedObject _
) As IEnumerable(Of IDataScope)
'Usage
Dim instance As Report 
Dim obj As IContainedObject 
Dim returnValue As IEnumerable(Of IDataScope)

returnValue = instance.GetDataScopesFor(obj)
public IEnumerable<IDataScope> GetDataScopesFor(
    IContainedObject obj
)
public:
virtual IEnumerable<IDataScope^>^ GetDataScopesFor(
    IContainedObject^ obj
) sealed
abstract GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
override GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
public final function GetDataScopesFor(
    obj : IContainedObject
) : IEnumerable<IDataScope>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IDataScope>
An IEnumerable<T> object.

Implements

IDataScopeService.GetDataScopesFor(IContainedObject)

See Also

Reference

Report Class

Microsoft.ReportingServices.RdlObjectModel Namespace