共用方式為


Report Members

Contains properties, data, and layout information for the report. The Report class is the root of the Report object model. This class cannot be inherited.

The following tables list the members exposed by the Report type.

Public Properties

  名稱 Description
ms162721.pubproperty(zh-tw,SQL.90).gif Author Gets the name of the author of the report.
ms162721.pubproperty(zh-tw,SQL.90).gif AutoRefresh Indicates, in seconds, how often to refresh the report.
ms162721.pubproperty(zh-tw,SQL.90).gif Body Gets the body of the report, as a rectangle.
ms162721.pubproperty(zh-tw,SQL.90).gif BottomMargin Gets the width of the bottom margin.
ms162721.pubproperty(zh-tw,SQL.90).gif CacheState Gets or sets a value that indicates that objects to be rendered should be cached.
ms162721.pubproperty(zh-tw,SQL.90).gif Columns Gets the default number of columns for rendering the report.
ms162721.pubproperty(zh-tw,SQL.90).gif ColumnSpacing Gets the default spacing between the columns, including the unit designator.
ms162721.pubproperty(zh-tw,SQL.90).gif Custom Gets the contents of the Custom tag in the definition.
ms162721.pubproperty(zh-tw,SQL.90).gif CustomProperties Returns a collection of custom properties for the report.
ms162721.pubproperty(zh-tw,SQL.90).gif DataElementName Gets the name of a top level element that represents the report data.
ms162721.pubproperty(zh-tw,SQL.90).gif DataElementStyle Gets a value that indicates whether text boxes should render as elements or attributes.
ms162721.pubproperty(zh-tw,SQL.90).gif DataSchema Gets the schema or namespace to use for a report data rendering.
ms162721.pubproperty(zh-tw,SQL.90).gif DataSetName Gets the name of the dataset.
ms162721.pubproperty(zh-tw,SQL.90).gif DataTransform Gets the location to a transformation to apply to a report data rendering.
ms162721.pubproperty(zh-tw,SQL.90).gif Description Gets the description of the report.
ms162721.pubproperty(zh-tw,SQL.90).gif DocumentMap Gets the root node of the document map.
ms162721.pubproperty(zh-tw,SQL.90).gif ExecutionTime Gets the date and time that the report was generated.
ms162721.pubproperty(zh-tw,SQL.90).gif HasBookmarks Gets a value that indicates whether the report contains bookmarks.
ms162721.pubproperty(zh-tw,SQL.90).gif InDocumentMap Gets a value that indicates whether the report has a document map.
ms162721.pubproperty(zh-tw,SQL.90).gif LeftMargin Gets the width of the left margin.
ms162721.pubproperty(zh-tw,SQL.90).gif Location Gets the location of the report as an absolute URL, encoded with ReplacementRoot, if necessary.
ms162721.pubproperty(zh-tw,SQL.90).gif Name Gets the name of the report.
ms162721.pubproperty(zh-tw,SQL.90).gif NeedsHeaderFooterEvaluation Gets a value that indicates whether this page header or page footer needs to be evaluated during rendering.
ms162721.pubproperty(zh-tw,SQL.90).gif NumberOfPages Gets the number of pages in the report.
ms162721.pubproperty(zh-tw,SQL.90).gif PageFooter Gets the contents of the page footer when the NeedsHeaderFooterEvaluation property is false.
ms162721.pubproperty(zh-tw,SQL.90).gif PageHeader Gets the contents of the page header when the NeedsHeaderFooterEvaluation property is false.
ms162721.pubproperty(zh-tw,SQL.90).gif PageHeight Gets the height of the page.
ms162721.pubproperty(zh-tw,SQL.90).gif Pages Gets an object containing pagination information.
ms162721.pubproperty(zh-tw,SQL.90).gif PageWidth Gets the width of the paper page.
ms162721.pubproperty(zh-tw,SQL.90).gif Parameters Gets the parameters for the report.
ms162721.pubproperty(zh-tw,SQL.90).gif RenderingInfo Gets or sets data to be used by the rendering extension. This data is specific to the current instance of the report item.
ms162721.pubproperty(zh-tw,SQL.90).gif ReportBookmarks Returns the bookmarks present in the report.
ms162721.pubproperty(zh-tw,SQL.90).gif ReportLanguage Gets the language of the report.
ms162721.pubproperty(zh-tw,SQL.90).gif RightMargin Gets the width of the left margin.
ms162721.pubproperty(zh-tw,SQL.90).gif SharedRenderingInfo Gets or sets shared data for use in future rendering extensions.
ms162721.pubproperty(zh-tw,SQL.90).gif ShowHideStateChanged Gets a value that indicates whether the show/hide state of the report snapshot has changed.
ms162721.pubproperty(zh-tw,SQL.90).gif ShowHideToggle Gets the identifier of the toggle item that was toggled by the user.
ms162721.pubproperty(zh-tw,SQL.90).gif SortItem  
ms162721.pubproperty(zh-tw,SQL.90).gif TopMargin Gets the width of the top margin.
ms162721.pubproperty(zh-tw,SQL.90).gif UniqueName Gets the unique name for this report.
ms162721.pubproperty(zh-tw,SQL.90).gif Width Gets the width of the report.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms162721.pubmethod(zh-tw,SQL.90).gif EnableNativeCustomReportItem Overloaded. Configures the rendering object model to make custom report items available.
ms162721.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms162721.pubmethod(zh-tw,SQL.90).gif Find Finds the report item in the report with the given unique name.
ms162721.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms162721.pubmethod(zh-tw,SQL.90).gif GetReportUrlBuilder Creates a ReportUrlBuilder from an initial URL, optionally using a replacement URL root.
ms162721.pubmethod(zh-tw,SQL.90).gif GetResource Returns the requested resource and its MIME type.
ms162721.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms162721.pubmethod(zh-tw,SQL.90).gifms162721.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms162721.pubmethod(zh-tw,SQL.90).gif StreamURL Returns the URL needed to retrieve this stream from another. Works with the CreateAndRegisterStream delegate function.
ms162721.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms162721.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms162721.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

Report Class
Microsoft.ReportingServices.ReportRendering Namespace