Web.DeleteAllAnonymousLinksForObject - Méthode
Removes all existing anonymous links for an object.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Shared Sub DeleteAllAnonymousLinksForObject ( _
context As ClientRuntimeContext, _
url As String _
)
'Utilisation
Dim context As ClientRuntimeContext
Dim url As StringWeb.DeleteAllAnonymousLinksForObject(context, _
url)
public static void DeleteAllAnonymousLinksForObject(
ClientRuntimeContext context,
string url
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
url
Type : System.StringThe URL of the object being shared, with the path of the object in SharePoint represented as query string parameters. For example:
https://contoso.com/?obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D