Partager via


DeploymentExtensions Class

Definition

Extensions to support deploying solutions and data to Dataverse.

public static class DeploymentExtensions
type DeploymentExtensions = class
Public Module DeploymentExtensions
Inheritance
DeploymentExtensions

Methods

DeleteAndPromoteSolutionAsync(ServiceClient, String)

Executes a Delete and Propmote Request against Dataverse using the Async Pattern.

GetAsyncOperationStatus(ServiceClient, Guid)
ImportDataMap(ServiceClient, String, Boolean, Boolean)

Used to upload a data map to the Dataverse

ImportSolution(ServiceClient, Guid, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)
ImportSolution(ServiceClient, String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)

Imports a Dataverse solution to the Dataverse Server currently connected.

*** Note: this is a blocking call and will take time to Import to Dataverse ***

ImportSolutionAsync(ServiceClient, Guid, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)
ImportSolutionAsync(ServiceClient, String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)

Import Solution Async used Execute Async pattern to run a solution import.

InstallSampleData(ServiceClient)

Request Dataverse to install sample data shipped with Dataverse. Note this is process will take a few moments to execute.

This method will return once the request has been submitted.

IsSampleDataInstalled(ServiceClient)

Determines if the Dataverse sample data has been installed

RetrieveSolutionImportResultAsync(ServiceClient, Guid, Boolean)
StageSolution(ServiceClient, String, MemoryStream)
SubmitImportRequest(ServiceClient, DeploymentExtensions+ImportRequest, DateTime)

Starts an Import request for CDS.

Supports a single file per Import request.

UninstallSampleData(ServiceClient)

Request Dataverse to remove sample data shipped with Dataverse. Note this is process will take a few moments to execute. This method will return once the request has been submitted.

Applies to