Share via


GeneratorInit.TargetConnection Property

Gets the target connection for the data generator.

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

Syntax

'Declaration
Public Property TargetConnection As IDbConnection
'Usage
Dim instance As GeneratorInit 
Dim value As IDbConnection 

value = instance.TargetConnection

instance.TargetConnection = value
public IDbConnection TargetConnection { get; internal set; }
public:
property IDbConnection^ TargetConnection {
    IDbConnection^ get ();
    void set (IDbConnection^ value);
}
public function get TargetConnection () : IDbConnection 
public function set TargetConnection (value : IDbConnection)

Property Value

Type: System.Data.IDbConnection
A IDbConnection that contains the target connection for the data generator.

Remarks

The target connection is a connection to the database that is the target of the data generation operation. In preview mode, this property returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

GeneratorInit Class

GeneratorInit Members

Microsoft.Data.Schema.DataGenerator Namespace