共用方式為


ScalarValueCondition.ExpectedValue 屬性

 

在指定的 ResultSet 中,取得或設定第一個資料列的第一個資料行預期值。

命名空間:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
組件:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (在 Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)

語法

public string ExpectedValue { get; set; }
public:
property String^ ExpectedValue {
    String^ get();
    void set(String^ value);
}
member ExpectedValue : string with get, set
Public Property ExpectedValue As String

屬性值

Type: System.String

備註

如果您將 NullExpected 設為 true,則 ExpectedValue 會自動設為 null。如果這個屬性設為非 null 值,NullExpected 會設為 false

請參閱

ScalarValueCondition 類別
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions 命名空間

回到頁首