Поделиться через


Метод DocumentSharingManager.UpdateDocumentSharingInfo

Пространство имен:  Microsoft.SharePoint.Client.Sharing
Сборки:   Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)

Синтаксис

'Декларация
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)
'Применение
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
)

Параметры

Возвращаемое значение

Тип: System.Collections.Generic.IList<UserSharingResult>

См. также

Справочные материалы

DocumentSharingManager класс

Элементы DocumentSharingManager

Пространство имен Microsoft.SharePoint.Client.Sharing