共用方式為


MySitePublicWebPartPage Class

Represents the public “My Site” page of the user.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        Microsoft.SharePoint.WebPartPages.WebPartPage
          Microsoft.SharePoint.Portal.WebControls.WebPartPage
            PersonalWebPartPage
              Microsoft.SharePoint.Portal.WebControls.MySitePublicWebPartPage

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Class MySitePublicWebPartPage _
    Inherits PersonalWebPartPage
'Usage
Dim instance As MySitePublicWebPartPage
public class MySitePublicWebPartPage : PersonalWebPartPage

Remarks

Use this class to discover the privacy in effect for a page for visitors of the “My Site” public page.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MySitePublicWebPartPage Members

Microsoft.SharePoint.Portal.WebControls Namespace