Share via


MySitePublicWebPartPage.PrivacySelected Property

Gets or sets the privacy for the My Site public page.

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

Syntax

'Declaration
Public Property PrivacySelected As Privacy
    Get
    Set
'Usage
Dim instance As MySitePublicWebPartPage
Dim value As Privacy

value = instance.PrivacySelected

instance.PrivacySelected = value
public Privacy PrivacySelected { get; set; }

Property Value

Type: Microsoft.Office.Server.UserProfiles.Privacy
The Privacy set on the My Site public page.

See Also

Reference

MySitePublicWebPartPage Class

MySitePublicWebPartPage Members

Microsoft.SharePoint.Portal.WebControls Namespace