DocumentSharingManager.UpdateDocumentSharingInfo - 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 UpdateDocumentSharingInfo ( _
context As ClientRuntimeContext, _
resourceAddress As String, _
userRoleAssignments As IList(Of UserRoleAssignment), _
validateExistingPermissions As Boolean, _
additiveMode As Boolean, _
sendServerManagedNotification As Boolean, _
customMessage As String, _
includeAnonymousLinksInNotification As Boolean, _
propagateAcl As Boolean _
) As IList(Of UserSharingResult)
'Utilisation
Dim context As ClientRuntimeContext
Dim resourceAddress As String
Dim userRoleAssignments As IList(Of UserRoleAssignment)
Dim validateExistingPermissions As Boolean
Dim additiveMode As Boolean
Dim sendServerManagedNotification As Boolean
Dim customMessage As String
Dim includeAnonymousLinksInNotification As Boolean
Dim propagateAcl As Boolean
Dim returnValue As IList(Of UserSharingResult)
returnValue = DocumentSharingManager.UpdateDocumentSharingInfo(context, _
resourceAddress, userRoleAssignments, _
validateExistingPermissions, additiveMode, _
sendServerManagedNotification, _
customMessage, includeAnonymousLinksInNotification, _
propagateAcl)
public static IList<UserSharingResult> UpdateDocumentSharingInfo(
ClientRuntimeContext context,
string resourceAddress,
IList<UserRoleAssignment> userRoleAssignments,
bool validateExistingPermissions,
bool additiveMode,
bool sendServerManagedNotification,
string customMessage,
bool includeAnonymousLinksInNotification,
bool propagateAcl
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- resourceAddress
Type : System.String
- userRoleAssignments
Type : System.Collections.Generic.IList<UserRoleAssignment>
- validateExistingPermissions
Type : System.Boolean
- additiveMode
Type : System.Boolean
- sendServerManagedNotification
Type : System.Boolean
- customMessage
Type : System.String
- includeAnonymousLinksInNotification
Type : System.Boolean
- propagateAcl
Type : System.Boolean
Valeur renvoyée
Type : System.Collections.Generic.IList<UserSharingResult>