此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Compares the report parameter expressions of two ReportObject object.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Protected Shared Function CompareReportParamterExpression ( _
local As ReportExpression, _
localParent As ReportObject, _
compareObj As ReportExpression, _
compareObjParent As ReportObject, _
visitedList As ICollection(Of ReportObject) _
) As Boolean
'用途
Dim local As ReportExpression
Dim localParent As ReportObject
Dim compareObj As ReportExpression
Dim compareObjParent As ReportObject
Dim visitedList As ICollection(Of ReportObject)
Dim returnValue As Boolean
returnValue = ReportObject.CompareReportParamterExpression(local, _
localParent, compareObj, compareObjParent, _
visitedList)
protected static bool CompareReportParamterExpression(
ReportExpression local,
ReportObject localParent,
ReportExpression compareObj,
ReportObject compareObjParent,
ICollection<ReportObject> visitedList
)
protected:
static bool CompareReportParamterExpression(
ReportExpression local,
ReportObject^ localParent,
ReportExpression compareObj,
ReportObject^ compareObjParent,
ICollection<ReportObject^>^ visitedList
)
static member CompareReportParamterExpression :
local:ReportExpression *
localParent:ReportObject *
compareObj:ReportExpression *
compareObjParent:ReportObject *
visitedList:ICollection<ReportObject> -> bool
protected static function CompareReportParamterExpression(
local : ReportExpression,
localParent : ReportObject,
compareObj : ReportExpression,
compareObjParent : ReportObject,
visitedList : ICollection<ReportObject>
) : boolean
參數
- local
型別:Microsoft.ReportingServices.RdlObjectModel.ReportExpression
The local report object.
- localParent
型別:Microsoft.ReportingServices.RdlObjectModel.ReportObject
The parent of the local report object.
- compareObj
型別:Microsoft.ReportingServices.RdlObjectModel.ReportExpression
The object to be compared.
- compareObjParent
型別:Microsoft.ReportingServices.RdlObjectModel.ReportObject
The parent of the object to be compared.
- visitedList
型別:System.Collections.Generic.ICollection<ReportObject>
The collection of report objects.
傳回值
型別:System.Boolean
The compared report objects.