WebSharingManager.UpdateWebSharingInformation 方法
命名空间: 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 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)
用法
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
)
参数
- userRoleAssignments
类型:System.Collections.Generic.IList<UserRoleAssignment>
- sendServerManagedNotification
类型:System.Boolean
- customMessage
类型:System.String
- additivePermission
类型:System.Boolean
- allowExternalSharing
类型:System.Boolean
返回值
类型:System.Collections.Generic.IList<UserSharingResult>