Share via


Generator.OutputKey Property

Gets or sets the key that is used to retrieve output values.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.OutputKey, ReadOnly := True,  _
    Visible := False)> _
Public Property OutputKey As String
[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)

Property Value

Type: System.String
The key that is used to retrieve output values.

Remarks

The OutputKey corresponds to the Key of the OutputDescriptor.

A data generator can have more than one output property. For example, a data-bound generator might return more than one column from a data source. The OutputKey determines which output property to use to retrieve the data.

This property is decorated with the InputAttribute and the AutoAssignedInput.

.NET Framework Security

See Also

Reference

Generator Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

Key

InputAttribute

AutoAssignedInput