Поделиться через


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
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.

Top

Properties

  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.

Top

Methods

  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.)

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.

See Also

Reference

Microsoft.SqlServer.Management.Dac Namespace