共用方式為


Generator.OutputKey 屬性

取得或設定用來擷取輸出值的索引鍵。

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

語法

'宣告
<InputAttribute(AutoAssignedInput := AutoAssignedInput.OutputKey, ReadOnly := True,  _
    Visible := False)> _
Public Property OutputKey As String
    Get
    Set
[InputAttribute(AutoAssignedInput = AutoAssignedInput.OutputKey, ReadOnly = true, 
    Visible = false)]
public string OutputKey { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::OutputKey, ReadOnly = true, 
    Visible = false)]
public:
property String^ OutputKey {
    String^ get ();
    void set (String^ value);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.OutputKey, ReadOnly = true, 
    Visible = false)>]
member OutputKey : string with get, set
function get OutputKey () : String
function set OutputKey (value : String)

屬性值

型別:System.String
用來擷取輸出值的索引鍵。

備註

OutputKey 會對應至 OutputDescriptorKey

資料產生器可以有一個以上的輸出屬性。 例如,資料繫結產生器可能會從資料來源傳回一個以上的資料行。 OutputKey 會決定哪一個輸出屬性可用來擷取資料。

這個屬性會使用 InputAttributeAutoAssignedInput 加以裝飾。

.NET Framework 安全性

請參閱

參考

Generator 類別

Microsoft.Data.Schema.Tools.DataGenerator 命名空間

Key

InputAttribute

AutoAssignedInput