DatabaseDeploymentElement.Configuration 属性

获取或设置名称测试项目配置。 例如“debug”或“retail”。

命名空间:  Microsoft.Data.Schema.UnitTesting.Configuration
程序集:  Microsoft.Data.Schema.UnitTesting(在 Microsoft.Data.Schema.UnitTesting.dll 中)

语法

声明
Public Property Configuration As String
    Get
    Set
public string Configuration { get; set; }
public:
property String^ Configuration {
    String^ get ();
    void set (String^ value);
}
member Configuration : string with get, set
function get Configuration () : String
function set Configuration (value : String)

属性值

类型:System.String

备注

这是在部署数据库时应用的配置。 对于数据库单元测试,可能要创建仅用于单元测试的自定义配置。

.NET Framework 安全性

请参见

参考

DatabaseDeploymentElement 类

Microsoft.Data.Schema.UnitTesting.Configuration 命名空间