DatabaseDeploymentProperties Class
The DatabaseDeploymentProperties object represents the properties of a deployed database.
Inheritance Hierarchy
Object
Microsoft.SqlServer.Management.Dac.DatabaseDeploymentProperties
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Декларация
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")> _
Public Class DatabaseDeploymentProperties
'Применение
Dim instance As DatabaseDeploymentProperties
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")]
public class DatabaseDeploymentProperties
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")]
public ref class DatabaseDeploymentProperties
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")>]
type DatabaseDeploymentProperties = class end
public class DatabaseDeploymentProperties
The DatabaseDeploymentProperties type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DatabaseDeploymentProperties(ServerConnection, String) | Initializes a new instance of the DatabaseDeploymentProperties class that has the specified connection and database name. | |
DatabaseDeploymentProperties(ServerConnection, String, AzureEdition, Int32) | Initializes a new instance of the DatabaseDeploymentProperties class with specified server connection, database name, edition, and size. |
Top
Properties
Name | Description | |
---|---|---|
AzureEdition | Gets or sets the edition of SQL Azure to target during this deployment. | |
AzureMaxSize | Gets or sets the maximum size instance to allocate in SQL Azure. | |
ConfigurationProperties | Gets or sets the configuration properties to store settings corresponding to settings that fall in between application and host level artifacts. | |
LogFileDirectory | Gets or sets the path and name of the operating system file that acts as the log file for the database. | |
Name | Gets or sets the name of the database. | |
PrimaryDataFileDirectory | Gets or sets the path and name of the operating system file that acts as the primary data file for the database. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
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.