ObjectSharingInformation.CanCurrentUserShareRemote método
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)
Sintaxe
'Declaração
Public Shared Function CanCurrentUserShareRemote ( _
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.CanCurrentUserShareRemote(context, _
docId)
public static ClientResult<UserSharingCapabilities> CanCurrentUserShareRemote(
ClientRuntimeContext context,
string docId
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- docId
Tipo: System.String
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<UserSharingCapabilities>
Ver também
Referência
ObjectSharingInformation classe