Κοινή χρήση μέσω


RetrieveSharedLinksRequest Class

Definition

Retrieve all shared links on the table row.

[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RetrieveSharedLinksRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type RetrieveSharedLinksRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveSharedLinksRequest
Inherits OrganizationRequest
Inheritance
RetrieveSharedLinksRequest
Attributes

Examples

/// <summary>
/// Retrieve all shared links on a table row.
/// </summary>
/// <param name="client">A ServiceClient instance.</param>
/// <param name="entRef">The target table row.</param>
/// <returns>A collection of shared links for the table row.</returns>
public EntityCollection Retrieve_SharedLinks(ServiceClient client, 
      EntityReference entRef)
{
    RetrieveSharedLinksRequest request = new() { Target = entRef };

    RetrieveSharedLinksResponse response =
        (RetrieveSharedLinksResponse)client.Execute(request);

    return response.SharedLinks;
}

Constructors

RetrieveSharedLinksRequest()

Initializes a new instance of the RetrieveSharedLinksRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Target

Gets or sets the target table row.

Applies to

See also