DatabaseDeploymentProperties 类

The DatabaseDeploymentProperties object represents the properties of a deployed database.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..DatabaseDeploymentProperties

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Class DatabaseDeploymentProperties
用法
Dim instance As DatabaseDeploymentProperties
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public class DatabaseDeploymentProperties
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public ref class DatabaseDeploymentProperties
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Dac.DatabaseDeploymentPropertiesSR")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type DatabaseDeploymentProperties =  class end
public class DatabaseDeploymentProperties

DatabaseDeploymentProperties 类型公开以下成员。

构造函数

  名称 说明
公共方法 DatabaseDeploymentProperties Initializes a new instance of the DatabaseDeploymentProperties class that has the specified connection and database name.

页首

属性

  名称 说明
公共属性 LogFileDirectory Gets or sets the name of folder for the log file.
公共属性 Name Gets or sets the name of the database.
公共属性 PrimaryDataFileDirectory Gets or sets the name of folder for the primary data file.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。