Partager via


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

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)

Syntaxe

'Déclaration
Public Shared Sub DeleteAnonymousLinkForObject ( _
    context As ClientRuntimeContext, _
    url As String, _
    isEditLink As Boolean _
)
'Utilisation
Dim context As ClientRuntimeContext
Dim url As String
Dim isEditLink As Boolean

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

Paramètres

  • 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
    
  • 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.

Voir aussi

Référence

Web classe

Web - Membres

DeleteAnonymousLinkForObject - Surcharge

Microsoft.SharePoint.Client - Espace de noms