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


Метод ObjectSharingInformation.CanCurrentUserShareRemote

Пространство имен:  Microsoft.SharePoint.Client
Сборки:   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 CanCurrentUserShareRemote ( _
    context As ClientRuntimeContext, _
    docId As String _
) As ClientResult(Of UserSharingCapabilities)
'Применение
Dim context As ClientRuntimeContext
Dim docId As String
Dim returnValue As ClientResult(Of UserSharingCapabilities)

returnValue = ObjectSharingInformation.CanCurrentUserShareRemote(context, _
    docId)
public static ClientResult<UserSharingCapabilities> CanCurrentUserShareRemote(
    ClientRuntimeContext context,
    string docId
)

Параметры

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

Тип: Microsoft.SharePoint.Client.ClientResult<UserSharingCapabilities>

См. также

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

ObjectSharingInformation класс

Элементы ObjectSharingInformation

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