del método DocumentSharingManager.UpdateDocumentSharingInfo
Espacio de nombres: Microsoft.SharePoint.Client.Sharing
Ensamblados: Microsoft.SharePoint.Client.Silverlight (en Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (en Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (en Microsoft.SharePoint.Client.dll)
Sintaxis
'Declaración
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)
'Uso
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
)
Parámetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- resourceAddress
Tipo: System.String
- userRoleAssignments
Tipo: System.Collections.Generic.IList<UserRoleAssignment>
- validateExistingPermissions
Tipo: System.Boolean
- additiveMode
Tipo: System.Boolean
- sendServerManagedNotification
Tipo: System.Boolean
- customMessage
Tipo: System.String
- includeAnonymousLinksInNotification
Tipo: System.Boolean
- propagateAcl
Tipo: System.Boolean
Valor devuelto
Tipo: System.Collections.Generic.IList<UserSharingResult>