Utility.IsUserLicensedForEntityInContext método
Namespace: Microsoft.SharePoint.Client.Utilities
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 IsUserLicensedForEntityInContext ( _
context As ClientRuntimeContext, _
licensableEntity As String _
) As ClientResult(Of Boolean)
'Uso
Dim context As ClientRuntimeContext
Dim licensableEntity As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = Utility.IsUserLicensedForEntityInContext(context, _
licensableEntity)
public static ClientResult<bool> IsUserLicensedForEntityInContext(
ClientRuntimeContext context,
string licensableEntity
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- licensableEntity
Tipo: System.String
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<Boolean>