Freigeben über


SocialData.EnsureUpdateAllowed-Methode

Bestimmt, ob ein bestimmtes Datenelement sozialen aktualisiert werden kann.

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Protected Sub EnsureUpdateAllowed
'Usage

Me.EnsureUpdateAllowed()
protected void EnsureUpdateAllowed()

Hinweise

Diese Methode löst eine InvalidOperationException , wenn das SocialData -Objekt nicht vorhanden ist. Wenn der aktuelle Benutzer nicht der Besitzer des Objekts SocialData ist ein UnauthorizedAccessException ausgelöst.

Siehe auch

Referenz

SocialData Klasse

SocialData-Member

Microsoft.Office.Server.SocialData-Namespace