CustomData.IDataScopeService.GetDataScopesFor 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets the data scopes for a contained item.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Private Function GetDataScopesFor ( _
obj As IContainedObject _
) As IEnumerable(Of IDataScope) Implements IDataScopeService.GetDataScopesFor
'用途
Dim instance As CustomData
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- obj
型別:Microsoft.ReportingServices.RdlObjectModel.IContainedObject
The contained object.
傳回值
型別:System.Collections.Generic.IEnumerable<IDataScope>
An IEnumerable<T> object.
實作
IDataScopeService.GetDataScopesFor(IContainedObject)