Web.DeleteAnonymousLinkForObject - Méthode (ClientRuntimeContext, String, Boolean)

SharePoint Online

Removes an existing anonymous link 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)

public static void DeleteAnonymousLinkForObject(
	ClientRuntimeContext context,
	string url,
	bool isEditLink
)

Paramètres

context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
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:

http://contoso.com/?obj={CF908473-72D4-449D-8A53-4BD01EC54B84},1,DOCUMENT&List=%7BCF908473%2D72D4%2D449D%2D8A53%2D4BD01EC54B84%7D
isEditLink
Type : System.Boolean

If true, the edit link for the object will be removed. If false, the view only link for the object will be removed.

Afficher: