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)
属性值
备注
这是在部署数据库时应用的配置。 对于数据库单元测试,可能要创建仅用于单元测试的自定义配置。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。