Share via


DataRegion.IDataScopeService.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 data region.

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

Syntax

'Declaration
Private Function GetDataScopesFor ( _
    obj As IContainedObject _
) As IEnumerable(Of IDataScope) Implements IDataScopeService.GetDataScopesFor
'Usage
Dim instance As DataRegion 
Dim obj As IContainedObject 
Dim returnValue As IEnumerable(Of IDataScope)

returnValue = CType(instance, IDataScopeService).GetDataScopesFor(obj)
IEnumerable<IDataScope> IDataScopeService.GetDataScopesFor(
    IContainedObject obj
)
private:
virtual IEnumerable<IDataScope^>^ GetDataScopesFor(
    IContainedObject^ obj
) sealed = IDataScopeService::GetDataScopesFor
private abstract GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
private override GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IDataScope>
The data scopes for the data region.

Implements

IDataScopeService.GetDataScopesFor(IContainedObject)

See Also

Reference

DataRegion Class

Microsoft.ReportingServices.RdlObjectModel Namespace