del método ObjectSharingInformation.CanCurrentUserShare
Espacio de nombres: Microsoft.SharePoint.Client
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 CanCurrentUserShare ( _
context As ClientRuntimeContext, _
docId As String _
) As ClientResult(Of UserSharingCapabilities)
'Uso
Dim context As ClientRuntimeContext
Dim docId As String
Dim returnValue As ClientResult(Of UserSharingCapabilities)
returnValue = ObjectSharingInformation.CanCurrentUserShare(context, _
docId)
public static ClientResult<UserSharingCapabilities> CanCurrentUserShare(
ClientRuntimeContext context,
string docId
)
Parámetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- docId
Tipo: System.String
Valor devuelto
Tipo: Microsoft.SharePoint.Client.ClientResult<UserSharingCapabilities>
Vea también
Referencia
clase ObjectSharingInformation