Web.DeleteAllAnonymousLinksForObject method

Removes all existing anonymous links for an object.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Sub DeleteAllAnonymousLinksForObject ( _
    context As ClientRuntimeContext, _
    url As String _
)
'Usage
Dim context As ClientRuntimeContext
Dim url As StringWeb.DeleteAllAnonymousLinksForObject(context, _
    url)
public static void DeleteAllAnonymousLinksForObject(
    ClientRuntimeContext context,
    string url
)

Parameters

  • url
    Type: System.String

    The 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
    

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace