UserProfile.ShareAllSocialData 方法
設定使用者的隱私權設定。
命名空間: Microsoft.SharePoint.Client.UserProfiles
組件: Microsoft.SharePoint.Client.UserProfiles.Silverlight (在 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中); Microsoft.SharePoint.Client.UserProfiles.Phone (在 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中) Microsoft.SharePoint.Client.UserProfiles (在 Microsoft.SharePoint.Client.UserProfiles.dll 中)
語法
'宣告
Public Sub ShareAllSocialData ( _
shareAll As Boolean _
)
'用途
Dim instance As UserProfile
Dim shareAll As Boolean
instance.ShareAllSocialData(shareAll)
public void ShareAllSocialData(
bool shareAll
)
參數
shareAll
類型:System.Boolean若要公開社交的所有資料; true若要將所有的社交資料設為私人false 。