Share via


WmiDataReaderTask.Output Property

Gets or sets an Object that contains the results of the WmiDataReaderTask task.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WmiDataReaderTask
Assembly:  Microsoft.SqlServer.WMIDRTask (in Microsoft.SqlServer.WMIDRTask.dll)

Syntax

'Declaration
Public Property Output As Object
    Get
    Set
'Usage
Dim instance As WmiDataReaderTask
Dim value As Object

value = instance.Output

instance.Output = value
public Object Output { get; set; }
public:
virtual property Object^ Output {
    Object^ get () sealed;
    void set (Object^ value) sealed;
}
abstract Output : Object with get, set
override Output : Object with get, set
final function get Output () : Object
final function set Output (value : Object)

Property Value

Type: System.Object
An Object that contains the results of the task.

Implements

IWmiDataReaderTask.Output

Remarks

The Output property provides direct access to the output of the task, depending on the OutputType value specified in OutputType. If OutputType is set to DataTable, then this property contains a boxed reference to the DataTable returned by WMI. Otherwise, this property contains a boxed reference to the String returned by WMI.