Freigeben über


AddCrmDatabaseRequest Class

Definition

Contains the data that is needed to add a Microsoft Dynamics 365 organization database to your deployment from a database backup or from a detached database.

public ref class AddCrmDatabaseRequest : Microsoft::Xrm::Sdk::Deployment::DeploymentServiceRequest
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.Serialization.DataContract(Name="AddCrmDatabaseRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class AddCrmDatabaseRequest : Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
[<System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.Serialization.DataContract(Name="AddCrmDatabaseRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type AddCrmDatabaseRequest = class
    inherit DeploymentServiceRequest
Public Class AddCrmDatabaseRequest
Inherits DeploymentServiceRequest
Inheritance
AddCrmDatabaseRequest
Attributes

Remarks

Usage

Pass an instance of this class to the Execute(DeploymentServiceRequest) method, which returns an instance of the AddCrmDatabaseResponse class.

Notes for Callers

You can also use the Add-CrmDatabaseWindows PowerShell command. For more information, see Microsoft Dynamics CRM PowerShell Reference.

Constructors

AddCrmDatabaseRequest()

Initializes a new instance of the AddCrmDatabaseRequest class.

Properties

DatabaseBackupFileName

Gets or sets the name of the SQL Server database backup file.

DatabaseLogFileName

Gets or sets the name of the SQL Server database log file (.ldf).

DatabaseMetadataFileName

Gets or sets the name of the SQL Server database metadata file (.mdf).

DatabaseName

Gets or sets the name of the Dynamics 365 organization database to import.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from DeploymentServiceRequest)
SqlServerName

Gets or sets the name of the SQL Server instance where you want to add the Dynamics 365 organization database.

Applies to

See also