Delen via


UninstallSampleDataRequest Class

Definition

Uninstalls the sample data.

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

Examples

The following example shows how to use this message. For this sample to work correctly, you must have an authenticated connection to the server with a client that implements the IOrganizationService interface instance.

/// <summary>
/// Uninstalls the sample data
/// </summary>
/// <param name="service">Authenticated client implementing the IOrganizationService interface</param>
static void UninstallSampleDataExample(IOrganizationService service)
{
    service.Execute(new UninstallSampleDataRequest());
}

Constructors

UninstallSampleDataRequest()

Initializes a new instance of the UninstallSampleDataRequest 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)

Applies to

See also