Share via


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 a contained item.

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

Syntax

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

returnValue = instance.GetDataScopesFor(obj)
IEnumerable<IDataScope> GetDataScopesFor(
    IContainedObject obj
)
IEnumerable<IDataScope^>^ GetDataScopesFor(
    IContainedObject^ obj
)
abstract GetDataScopesFor : 
        obj:IContainedObject -> IEnumerable<IDataScope> 
function GetDataScopesFor(
    obj : IContainedObject
) : IEnumerable<IDataScope>

Parameters

Return Value

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

See Also

Reference

IDataScopeService Interface

Microsoft.ReportingServices.RdlObjectModel Namespace