Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Gets an IDbConnection object for the connection over which the schema will be created.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public ReadOnly Property Connection As IDbConnection
Get
'Usage
Dim instance As CreatingSchemaEventArgs
Dim value As IDbConnection
value = instance.Connection
public IDbConnection Connection { get; }
public:
property IDbConnection^ Connection {
IDbConnection^ get ();
}
member Connection : IDbConnection
function get Connection () : IDbConnection
Property Value
Type: System.Data.IDbConnection
An IDbConnection object that contains a connection to the client database.
Remarks
Use the connection exposed by this property and the transaction exposed by the Transaction property to access a database over the same connection and within the same transaction that Sync Framework uses.
Examples
For an example of how to access a database over the same connection and within the same transaction that Sync Framework uses, see How to: Work with Events and Program Business Logic.