共用方式為


ReportViewerWebPart 類別

Represents the Report Viewer Web Part.

繼承階層

System. . :: . .Object
  System.Web.UI. . :: . .Control
    System.Web.UI.WebControls. . :: . .WebControl
      System.Web.UI.WebControls. . :: . .Panel
        System.Web.UI.WebControls.WebParts. . :: . .Part
          System.Web.UI.WebControls.WebParts. . :: . .WebPart
            WebPart
              Microsoft.ReportingServices.SharePoint.UI.WebParts..::..ReportViewerWebPart

命名空間:  Microsoft.ReportingServices.SharePoint.UI.WebParts
組件:  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

'宣告
Public Class ReportViewerWebPart _
    Inherits WebPart _
    Implements IScriptControl
'用途
Dim instance As ReportViewerWebPart
public class ReportViewerWebPart : WebPart, 
    IScriptControl
public ref class ReportViewerWebPart : public WebPart, 
    IScriptControl
type ReportViewerWebPart =  
    class
        inherit WebPart
        interface IScriptControl
    end
public class ReportViewerWebPart extends WebPart implements IScriptControl

ReportViewerWebPart 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ReportViewerWebPart Initializes a new instance of the ReportViewerWebPart class.

上層

屬性

  名稱 說明
公用屬性 AccessKey (繼承自 WebControl。)
受保護的屬性 Adapter (繼承自 Control。)
公用屬性 AllowClose (繼承自 WebPart。)
公用屬性 AllowConnect (繼承自 WebPart。)
公用屬性 AllowEdit (繼承自 WebPart。)
公用屬性 AllowHide (繼承自 WebPart。)
公用屬性 AllowMinimize (繼承自 WebPart。)
公用屬性 AllowRemove 已經過時。 (繼承自 WebPart。)
公用屬性 AllowZoneChange (繼承自 WebPart。)
公用屬性 AppRelativeTemplateSourceDirectory (繼承自 Control。)
公用屬性 AsyncRendering Gets or sets a Boolean value that indicates whether the report is rendered asynchronously from the rest of the Web page when the Web page is loaded.
公用屬性 Attributes (繼承自 WebControl。)
公用屬性 AuthorizationFilter (繼承自 WebPart。)
公用屬性 AutoGenerateDetailLink Gets or sets a Boolean value that indicates whether to generate a hyperlink that appears above the Web Part. You can click the link to open the report in a new page, in full-page mode.
公用屬性 AutoGenerateTitle Gets or sets a Boolean value that indicates whether the Web part title should be automatically generated from the report that is displayed.
公用屬性 BackColor (繼承自 WebControl。)
公用屬性 BackImageUrl (繼承自 Panel。)
公用屬性 BindingContainer (繼承自 Control。)
公用屬性 BorderColor (繼承自 WebControl。)
公用屬性 BorderStyle (繼承自 WebControl。)
公用屬性 BorderWidth (繼承自 WebControl。)
公用屬性 BrowserDesignMode 已經過時。 (繼承自 WebPart。)
受保護的屬性 CacheType (繼承自 WebPart。)
公用屬性 Caption 已經過時。 (繼承自 WebPart。)
公用屬性 CatalogIconImageUrl (繼承自 WebPart。)
受保護的屬性 ChildControlsCreated (繼承自 Control。)
公用屬性 ChromeState (繼承自 WebPart。)
公用屬性 ChromeType (繼承自 WebPart。)
受保護的屬性 ClassResourcePath (繼承自 WebPart。)
公用屬性 ClientID (繼承自 Control。)
受保護的屬性 ClientIDSeparator (繼承自 Control。)
公用屬性 ClientName (繼承自 WebPart。)
公用屬性 ConnectErrorMessage (繼承自 WebPart。)
公用屬性 ConnectionID (繼承自 WebPart。)
公用屬性 Connections (繼承自 WebPart。)
受保護的屬性 ContainerWidth 已經過時。 (繼承自 WebPart。)
受保護的屬性 Context (繼承自 Control。)
公用屬性 Controls (繼承自 Part。)
公用屬性 ControlStyle (繼承自 WebControl。)
公用屬性 ControlStyleCreated (繼承自 WebControl。)
公用屬性 CssClass (繼承自 WebControl。)
公用屬性 CssStyleSheet (繼承自 WebPart。)
公用屬性 DefaultButton (繼承自 Panel。)
公用屬性 Description (繼承自 WebPart。)
受保護的屬性 DesignMode (繼承自 Control。)
公用屬性 DetailLink 已經過時。 (繼承自 WebPart。)
公用屬性 Dir 已經過時。 (繼承自 WebPart。)
公用屬性 Direction (繼承自 WebPart。)
公用屬性 DisplayTitle (繼承自 WebPart。)
公用屬性 DockToolBar Gets or sets the docking location of the toolbar.
公用屬性 DocumentMapAreaWidth Gets or sets a string that indicates the width of the document map area.
公用屬性 DocumentMapMode Gets or sets an enumeration value that indicates the visibility mode of the document map area.
公用屬性 EffectiveFrameType 已經過時。 (繼承自 WebPart。)
公用屬性 EffectiveStorage (繼承自 WebPart。)
公用屬性 EffectiveTitle (繼承自 WebPart。)
公用屬性 Enabled (繼承自 WebControl。)
公用屬性 EnableTheming (繼承自 WebControl。)
公用屬性 EnableViewState (繼承自 Control。)
受保護的屬性 Events (繼承自 Control。)
公用屬性 ExportControlledProperties 已經過時。 (繼承自 WebPart。)
公用屬性 ExportMode (繼承自 WebPart。)
公用屬性 Font (繼承自 WebControl。)
公用屬性 ForeColor (繼承自 WebControl。)
公用屬性 FrameState 已經過時。 (繼承自 WebPart。)
公用屬性 FrameType 已經過時。 (繼承自 WebPart。)
公用屬性 GroupingText (繼承自 Panel。)
公用屬性 HasAttributes (繼承自 WebControl。)
受保護的屬性 HasChildViewState (繼承自 Control。)
公用屬性 HasSharedData (繼承自 WebPart。)
公用屬性 HasUserData (繼承自 WebPart。)
公用屬性 Height (繼承自 WebPart。)
公用屬性 HelpLink 已經過時。 (繼承自 WebPart。)
公用屬性 HelpMode (繼承自 WebPart。)
公用屬性 HelpUrl (繼承自 WebPart。)
公用屬性 Hidden (繼承自 WebPart。)
公用屬性 HorizontalAlign (繼承自 Panel。)
公用屬性 HyperlinkTarget Gets or sets the target frame for displaying linked content within the current report.
公用屬性 ID (繼承自 WebPart。)
受保護的屬性 IdSeparator (繼承自 Control。)
公用屬性 ImportErrorMessage (繼承自 WebPart。)
受保護的屬性 IsChildControlStateCleared (繼承自 Control。)
公用屬性 IsClosed (繼承自 WebPart。)
受保護的屬性 IsEnabled (繼承自 WebControl。)
公用屬性 IsIncluded 已經過時。 (繼承自 WebPart。)
公用屬性 IsIncludedFilter 已經過時。 (繼承自 WebPart。)
公用屬性 IsShared (繼承自 WebPart。)
公用屬性 IsStandalone (繼承自 WebPart。)
公用屬性 IsStatic (繼承自 WebPart。)
受保護的屬性 IsTrackingViewState (繼承自 Control。)
受保護的屬性 IsViewStateEnabled (繼承自 Control。)
公用屬性 IsVisible 已經過時。 (繼承自 WebPart。)
公用屬性 KeepSessionAlive Gets or sets a Boolean value that indicates whether the ReportViewerWebPart should keep the user session from expiring.
受保護的屬性 LoadViewStateByID (繼承自 Control。)
公用屬性 MissingAssembly 已經過時。 (繼承自 WebPart。)
公用屬性 NamingContainer (繼承自 Control。)
受保護的屬性 OverflowAuto (繼承自 WebPart。)
公用屬性 OverrideParameters Gets a collection of ReportParameter objects that are used to override the default parameters for the report that is being loaded in the Web Part.
公用屬性 Page (繼承自 Control。)
公用屬性 Parent (繼承自 Control。)
公用屬性 PartImageLarge 已經過時。 (繼承自 WebPart。)
公用屬性 PartImageSmall 已經過時。 (繼承自 WebPart。)
公用屬性 PartOrder 已經過時。 (繼承自 WebPart。)
公用屬性 Permissions 已經過時。 (繼承自 WebPart。)
公用屬性 PromptAreaMode Gets or sets a value that indicates the visibility mode of the parameter prompt area and the credential prompt area (if applicable).
公用屬性 Qualifier (繼承自 WebPart。)
公用屬性 ReportPath Gets or sets a fully qualified path to a report that is on the current SharePoint site, or on a site within the same Web application or farm.
受保護的屬性 SaveProperties (繼承自 WebPart。)
公用屬性 ScrollBars (繼承自 Panel。)
受保護的屬性 SerializeAll (繼承自 WebPart。)
公用屬性 SerializedAttachedPropertiesShared (繼承自 WebPart。)
公用屬性 SerializedAttachedPropertiesUser (繼承自 WebPart。)
受保護的屬性 ServerRelativeClassResourcePath (繼承自 WebPart。)
受保護的屬性 ShouldValidate (繼承自 WebPart。)
公用屬性 Site (繼承自 Control。)
公用屬性 SkinID (繼承自 WebControl。)
公用屬性 StorageKey (繼承自 WebPart。)
公用屬性 Style (繼承自 WebControl。)
公用屬性 Subtitle (繼承自 WebPart。)
公用屬性 SuppressWebPartChrome (繼承自 WebPart。)
公用屬性 TabIndex (繼承自 WebControl。)
受保護的屬性 TagKey (繼承自 WebControl。)
受保護的屬性 TagName (繼承自 WebControl。)
公用屬性 TemplateControl (繼承自 Control。)
公用屬性 TemplateSourceDirectory (繼承自 Control。)
公用屬性 Title Gets or sets the title string of the ReportViewerWebPart. (覆寫 WebPartTitle()()()()。)
公用屬性 TitleIconImageUrl (繼承自 WebPart。)
公用屬性 TitleUrl (繼承自 WebPart。)
公用屬性 ToolBarItemsDisplayMode Gets or sets a bit flags enumeration value that specifies which toolbar items are displayed when ToolBarMode is set to Full.
公用屬性 ToolBarMode Gets or sets the display mode of the toolbar.
公用屬性 ToolTip (繼承自 WebControl。)
公用屬性 UniqueID (繼承自 Control。)
公用屬性 UnknownXmlElements (繼承自 WebPart。)
公用屬性 UseDefaultStyles (繼承自 WebPart。)
公用屬性 Verbs (繼承自 WebPart。)
受保護的屬性 ViewState (繼承自 Control。)
受保護的屬性 ViewStateIgnoresCase (繼承自 Control。)
公用屬性 Visible (繼承自 Control。)
公用屬性 WebBrowsableObject (繼承自 WebPart。)
受保護的屬性 WebPartManager (繼承自 WebPart。)
受保護的屬性 WebPartMenu (繼承自 WebPart。)
公用屬性 Width (繼承自 WebPart。)
受保護的屬性 WorkItemTimeout 已經過時。 (繼承自 WebPart。)
公用屬性 Wrap (繼承自 Panel。)
公用屬性 Zone (繼承自 WebPart。)
公用屬性 ZoneID (繼承自 WebPart。)
公用屬性 ZoneIndex (繼承自 WebPart。)

上層

方法

  名稱 說明
受保護的方法 AddAttributesToRender (繼承自 Panel。)
受保護的方法 AddedControl (繼承自 Control。)
公用方法 AddParameterProvider Specifies the parameter provider Web Part when this Web Part is configured to consume data from that Web Part.
受保護的方法 AddParsedSubObject (繼承自 WebPart。)
公用方法 AfterDeserialize (繼承自 WebPart。)
公用方法 ApplyStyle (繼承自 WebControl。)
公用方法 ApplyStyleSheetSkin (繼承自 Control。)
受保護的方法 BuildProfileTree (繼承自 Control。)
公用方法 CanRunAt 已經過時。 (繼承自 WebPart。)
受保護的方法 ClearChildControlState (繼承自 Control。)
受保護的方法 ClearChildState (繼承自 Control。)
受保護的方法 ClearChildViewState (繼承自 Control。)
公用方法 CopyBaseAttributes (繼承自 WebControl。)
受保護的方法 CreateChildControls 基礎結構。Creates the child controls of the ReportViewerWebPart. (覆寫 Control. . :: . .CreateChildControls() () () ()。)
受保護的方法 CreateControlCollection (繼承自 Control。)
受保護的方法 CreateControlStyle (繼承自 Panel。)
公用方法 CreateEditorParts (繼承自 WebPart。)
公用方法 CreateWebPartMenu (繼承自 WebPart。)
公用方法 DataBind() () () () (繼承自 Part。)
受保護的方法 DataBind(Boolean) (繼承自 Control。)
受保護的方法 DataBindChildren (繼承自 Control。)
公用方法 Dispose (繼承自 WebPart。)
受保護的方法 EnsureChildControls (繼承自 Control。)
受保護的方法 EnsureID (繼承自 Control。)
公用方法 EnsureInterfaces 已經過時。 (繼承自 WebPart。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 FindControl(String) (繼承自 Control。)
受保護的方法 FindControl(String, Int32) (繼承自 Control。)
公用方法 Focus (繼承自 Control。)
受保護的方法 GetCustomBuilder (繼承自 WebPart。)
公用方法 GetData 已經過時。 (繼承自 WebPart。)
受保護的方法 GetDesignModeState (繼承自 Control。)
公用方法 GetDesignTimeFooter (繼承自 WebPart。)
公用方法 GetDesignTimeHeader (繼承自 WebPart。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetInitEventArgs 已經過時。 (繼承自 WebPart。)
公用方法 GetParameters Returns the parameters of the current report in the ReportViewerWebPart.
公用方法 GetRequiresData 已經過時。 (繼承自 WebPart。)
公用方法 GetToolParts Returns a list of tool parts that are displayed in the tool pane of the Web-based Web Part design user interface, in the order in which they are displayed. (覆寫 WebPartGetToolParts()()()()。)
公用方法 GetType (繼承自 Object。)
公用方法 HasControls (繼承自 Control。)
受保護的方法 HasEvents (繼承自 Control。)
受保護的方法 IsLiteralContent (繼承自 Control。)
受保護的方法 LoadControlState (繼承自 Control。)
公用方法 LoadResource (繼承自 WebPart。)
受保護的方法 LoadViewState Restores view-state information from a previous request that was saved with the SaveViewState method. (覆寫 WebPartLoadViewState(Object)。)
受保護的方法 MapPathSecure (繼承自 Control。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 MergeStyle (繼承自 WebControl。)
受保護的方法 NotifyWorkItemComplete 已經過時。 (繼承自 WebPart。)
受保護的方法 OnBubbleEvent (繼承自 Control。)
受保護的方法 OnClosing (繼承自 WebPart。)
受保護的方法 OnConnectModeChanged (繼承自 WebPart。)
受保護的方法 OnDataBinding (繼承自 WebPart。)
受保護的方法 OnDeleting (繼承自 WebPart。)
受保護的方法 OnEditModeChanged (繼承自 WebPart。)
受保護的方法 OnInit Raises the Init event. (覆寫 WebPartOnInit(EventArgs)。)
受保護的方法 OnLoad (繼承自 Control。)
受保護的方法 OnPreRender Raises the PreRender event. (覆寫 WebPartOnPreRender(EventArgs)。)
受保護的方法 OnUnload (繼承自 WebPart。)
受保護的方法 OpenFile (繼承自 Control。)
公用方法 PartCacheInvalidate()()()() (繼承自 WebPart。)
受保護的方法 PartCacheInvalidate(Storage) (繼承自 WebPart。)
受保護的方法 PartCacheInvalidate(Storage, String) (繼承自 WebPart。)
受保護的方法 PartCacheRead (繼承自 WebPart。)
受保護的方法 PartCacheWrite (繼承自 WebPart。)
公用方法 PartCommunicationConnect 已經過時。 (繼承自 WebPart。)
公用方法 PartCommunicationInit 已經過時。 (繼承自 WebPart。)
公用方法 PartCommunicationMain 已經過時。 (繼承自 WebPart。)
受保護的方法 RaiseBubbleEvent (繼承自 Control。)
受保護的方法 RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String) 已經過時。 (繼承自 WebPart。)
受保護的方法 RegisterInterface(String, String, Int32, ConnectionRunAt, Object, String, String, String, Boolean) 已經過時。 (繼承自 WebPart。)
受保護的方法 RegisterWorkItem 已經過時。 (繼承自 WebPart。)
受保護的方法 RegisterWorkItemCallback 已經過時。 (繼承自 WebPart。)
受保護的方法 RemovedControl (繼承自 Control。)
受保護的方法 Render 基礎結構。Inherited from T:Microsoft.SharePoint.WebPartPages.WebPart. (覆寫 WebPartRender(HtmlTextWriter)。)
公用方法 RenderBeginTag (繼承自 Panel。)
受保護的方法 RenderChildren 基礎結構。Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (覆寫 Control. . :: . .RenderChildren(HtmlTextWriter)。)
受保護的方法 RenderContents (繼承自 WebControl。)
公用方法 RenderControl(HtmlTextWriter) (繼承自 Control。)
受保護的方法 RenderControl(HtmlTextWriter, ControlAdapter) (繼承自 Control。)
公用方法 RenderEndTag (繼承自 Panel。)
受保護的方法 RenderWebPart (繼承自 WebPart。)
受保護的方法 RenderWorkItemTimeout 已經過時。 (繼承自 WebPart。)
受保護的方法 ReplaceTokens (繼承自 WebPart。)
受保護的方法 RequiresWebPartClientScript (繼承自 WebPart。)
受保護的方法 ResolveAdapter (繼承自 Control。)
公用方法 ResolveClientUrl (繼承自 Control。)
公用方法 ResolveUrl (繼承自 Control。)
受保護的方法 SaveControlState (繼承自 Control。)
受保護的方法 SaveViewState Saves the view-state of the ReportViewerWebPart. (覆寫 WebControl. . :: . .SaveViewState() () () ()。)
公用方法 SetBasePermissionsForSandboxAppDomain Sets the base permissions for the sandbox application domain with the supplied permission set. This method is only applicable when ReportPath is set to a report in a SharePoint document library.
受保護的方法 SetDesignModeState (繼承自 Control。)
受保護的方法 SetPersonalizationDirty (繼承自 WebPart。)
公用方法 SetRenderMethodDelegate (繼承自 Control。)
公用方法 SetRowProvider Specifies the row provider Web Part when this Web Part is configured to consume data from that Web Part.
受保護的方法 SetWebPartPageComponent (繼承自 WebPart。)
公用方法 ShouldSerializeAllowConnect (繼承自 WebPart。)
公用方法 ShouldSerializeAllowEdit (繼承自 WebPart。)
公用方法 ShouldSerializeAllowHide (繼承自 WebPart。)
公用方法 ShouldSerializeAllowMinimize (繼承自 WebPart。)
公用方法 ShouldSerializeAllowRemove (繼承自 WebPart。)
公用方法 ShouldSerializeAllowZoneChange (繼承自 WebPart。)
公用方法 ShouldSerializeConnectionID (繼承自 WebPart。)
公用方法 ShouldSerializeConnections (繼承自 WebPart。)
公用方法 ShouldSerializeDescription (繼承自 WebPart。)
公用方法 ShouldSerializeDetailLink (繼承自 WebPart。)
公用方法 ShouldSerializeDir (繼承自 WebPart。)
公用方法 ShouldSerializeExportControlledProperties (繼承自 WebPart。)
公用方法 ShouldSerializeFrameState (繼承自 WebPart。)
公用方法 ShouldSerializeFrameType (繼承自 WebPart。)
公用方法 ShouldSerializeHeight (繼承自 WebPart。)
公用方法 ShouldSerializeHelpLink (繼承自 WebPart。)
公用方法 ShouldSerializeHelpMode (繼承自 WebPart。)
公用方法 ShouldSerializeID (繼承自 WebPart。)
公用方法 ShouldSerializeIsIncluded (繼承自 WebPart。)
公用方法 ShouldSerializeIsIncludedFilter (繼承自 WebPart。)
公用方法 ShouldSerializeIsVisible (繼承自 WebPart。)
公用方法 ShouldSerializeMissingAssembly (繼承自 WebPart。)
公用方法 ShouldSerializePartImageLarge (繼承自 WebPart。)
公用方法 ShouldSerializePartImageSmall (繼承自 WebPart。)
公用方法 ShouldSerializePartOrder (繼承自 WebPart。)
公用方法 ShouldSerializeTitle (繼承自 WebPart。)
公用方法 ShouldSerializeWidth (繼承自 WebPart。)
公用方法 ShouldSerializeZoneID (繼承自 WebPart。)
公用方法 ToString (繼承自 Object。)
受保護的方法 TrackViewState (繼承自 WebPart。)

上層

事件

  名稱 說明
公用事件 DataBinding (繼承自 Control。)
公用事件 Disposed (繼承自 Control。)
公用事件 Init (繼承自 Control。)
公用事件 Load (繼承自 Control。)
公用事件 PreRender (繼承自 Control。)
公用事件 Unload (繼承自 Control。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IScriptControl. . :: . .GetScriptDescriptors
明確介面實作私用方法 IScriptControl. . :: . .GetScriptReferences
明確介面實作私用方法 IParserAccessor. . :: . .AddParsedSubObject (繼承自 Control。)
明確介面實作私用屬性 IControlBuilderAccessor. . :: . .ControlBuilder (繼承自 Control。)
明確介面實作私用屬性 IDataBindingsAccessor. . :: . .DataBindings (繼承自 Control。)
明確介面實作私用屬性 IExpressionsAccessor. . :: . .Expressions (繼承自 Control。)
明確介面實作私用方法 System#Web#UI#IAttributeAccessor#GetAttribute (繼承自 WebPart。)
明確介面實作私用方法 Microsoft#SharePoint#WebPartPages#IConnectionData#GetData (繼承自 WebPart。)
明確介面實作私用方法 IControlDesignerAccessor. . :: . .GetDesignModeState (繼承自 Control。)
明確介面實作私用方法 Microsoft#SharePoint#WebPartPages#IConnectionData#GetRequiresData (繼承自 WebPart。)
明確介面實作私用屬性 IDataBindingsAccessor. . :: . .HasDataBindings (繼承自 Control。)
明確介面實作私用屬性 IExpressionsAccessor. . :: . .HasExpressions (繼承自 Control。)
明確介面實作私用方法 ICompositeControlDesignerAccessor. . :: . .RecreateChildControls (繼承自 Part。)
明確介面實作私用方法 System#Web#UI#IAttributeAccessor#SetAttribute (繼承自 WebPart。)
明確介面實作私用方法 IControlDesignerAccessor. . :: . .SetDesignModeState (繼承自 Control。)
明確介面實作私用方法 IControlDesignerAccessor. . :: . .SetOwnerControl (繼承自 Control。)
明確介面實作私用屬性 IControlDesignerAccessor. . :: . .UserData (繼承自 Control。)

上層

備註

You can add the ReportViewerWebPart to a SharePoint application and customize it using its programmatic interface. For example, use the DockToolBar property to programmatically control where the toolbar is displayed. You can control the visibility of individual toolbar items using the ToolBarItemsDisplayMode property.

To supply custom report parameters to the ReportViewerWebPart, use the GetParameters method to see which parameters are available on the report that is currently displayed, then use the OverrideParameters method to supply custom parameter values to the report. To programmatically specify a report path to the ReportViewerWebPart, you can use the ReportPath property.

The ReportViewerWebPart can also consume a report path and report parameters using Web Part connections. Using Web Part connections, an IWebPartRow Web Part can provide a report path to the ReportViewerWebPart, and an IFilterValues Web Part can provide a report parameter to the ReportViewerWebPart.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。