Web.DeleteAllAnonymousLinksForObject-Methode
Removes all existing anonymous links for an object.
Namespace: Microsoft.SharePoint.Client
Assemblys: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll) 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
)
Parameter
- context
Typ: Microsoft.SharePoint.Client.ClientRuntimeContext
url
Typ: 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