AddCrmDatabaseRequest Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
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.
Namespace: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
Microsoft.Xrm.Sdk.Deployment.AddCrmDatabaseRequest
Syntax
[DataContractAttribute(Name = "AddCrmDatabaseRequest", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class AddCrmDatabaseRequest : DeploymentServiceRequest
<DataContractAttribute(Name := "AddCrmDatabaseRequest", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Class AddCrmDatabaseRequest
Inherits DeploymentServiceRequest
Constructors
Name | Description | |
---|---|---|
AddCrmDatabaseRequest() | Initializes a new instance of the AddCrmDatabaseRequest class. |
Properties
Name | Description | |
---|---|---|
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
Usage
Pass an instance of this class to the Execute 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.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
AddCrmDatabaseResponse
Microsoft.Xrm.Sdk.Deployment Namespace
Deployment web service messages
Add-CrmDatabase
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright