Share via


AddCrmDatabaseRequest Class

 

Applies To: Dynamics CRM 2015

Contains the data that is needed to add a Microsoft Dynamics CRM 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 ref class AddCrmDatabaseRequest : DeploymentServiceRequest
[<DataContractAttribute(Name = "AddCrmDatabaseRequest", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type AddCrmDatabaseRequest = 
    class
        inherit DeploymentServiceRequest
    end
<DataContractAttribute(Name := "AddCrmDatabaseRequest", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Class AddCrmDatabaseRequest
    Inherits DeploymentServiceRequest

Constructors

Name Description
System_CAPS_pubmethod AddCrmDatabaseRequest()

Initializes a new instance of the AddCrmDatabaseRequest class.

Properties

Name Description
System_CAPS_pubproperty DatabaseBackupFileName

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

System_CAPS_pubproperty DatabaseLogFileName

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

System_CAPS_pubproperty DatabaseMetadataFileName

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

System_CAPS_pubproperty DatabaseName

Gets or sets the name of the CRM organization database to import.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from DeploymentServiceRequest.)

System_CAPS_pubproperty SqlServerName

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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-CrmDatabase Windows 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

© 2016 Microsoft. All rights reserved. Copyright