DatabaseDeploymentProperties Class

The DatabaseDeploymentProperties object represents the properties of a deployed database.

Inheritance Hierarchy


Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)


<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")> _
Public Class DatabaseDeploymentProperties
Dim instance As DatabaseDeploymentProperties
public class DatabaseDeploymentProperties
public ref class DatabaseDeploymentProperties
type DatabaseDeploymentProperties =  class end
public class DatabaseDeploymentProperties

The DatabaseDeploymentProperties type exposes the following members.


  Name Description
Public method DatabaseDeploymentProperties(ServerConnection, String) Initializes a new instance of the DatabaseDeploymentProperties class that has the specified connection and database name.
Public method DatabaseDeploymentProperties(ServerConnection, String, AzureEdition, Int32) Initializes a new instance of the DatabaseDeploymentProperties class with specified server connection, database name, edition, and size.



  Name Description
Public property AzureEdition Gets or sets the edition of SQL Azure to target during this deployment.
Public property AzureMaxSize Gets or sets the maximum size instance to allocate in SQL Azure.
Public property ConfigurationProperties Gets or sets the configuration properties to store settings corresponding to settings that fall in between application and host level artifacts.
Public property LogFileDirectory Gets or sets the path and name of the operating system file that acts as the log file for the database.
Public property Name Gets or sets the name of the database.
Public property PrimaryDataFileDirectory Gets or sets the path and name of the operating system file that acts as the primary data file for the database.



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)



You can override these deployment properties during the time of DacInstance deployment. Most of these properties are borrowed from Database options.

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


Microsoft.SqlServer.Management.Dac Namespace