Partager via


WebSharingManager.UpdateWebSharingInformation - Méthode

Espace de noms :  Microsoft.SharePoint.Client.Sharing
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Shared Function UpdateWebSharingInformation ( _
    context As ClientRuntimeContext, _
    web As Web, _
    userRoleAssignments As IList(Of UserRoleAssignment), _
    sendServerManagedNotification As Boolean, _
    customMessage As String, _
    additivePermission As Boolean, _
    allowExternalSharing As Boolean _
) As IList(Of UserSharingResult)
'Utilisation
Dim context As ClientRuntimeContext
Dim web As Web
Dim userRoleAssignments As IList(Of UserRoleAssignment)
Dim sendServerManagedNotification As Boolean
Dim customMessage As String
Dim additivePermission As Boolean
Dim allowExternalSharing As Boolean
Dim returnValue As IList(Of UserSharingResult)

returnValue = WebSharingManager.UpdateWebSharingInformation(context, _
    web, userRoleAssignments, sendServerManagedNotification, _
    customMessage, additivePermission, _
    allowExternalSharing)
public static IList<UserSharingResult> UpdateWebSharingInformation(
    ClientRuntimeContext context,
    Web web,
    IList<UserRoleAssignment> userRoleAssignments,
    bool sendServerManagedNotification,
    string customMessage,
    bool additivePermission,
    bool allowExternalSharing
)

Paramètres

Valeur renvoyée

Type : System.Collections.Generic.IList<UserSharingResult>

Voir aussi

Référence

WebSharingManager classe

WebSharingManager - Membres

Microsoft.SharePoint.Client.Sharing - Espace de noms