GeneratorInit.TargetConnection Property
Gets the target connection for the data generator.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.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
An 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).
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace