SchemaCreatedEventArgs.Connection Property
Gets an IDbConnection object for the connection over which the schema was created.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
'Declaration
Public ReadOnly Property Connection As IDbConnection
public IDbConnection Connection { get; }
public:
property IDbConnection^ Connection {
IDbConnection^ get ();
}
/** @property */
public IDbConnection get_Connection ()
public function get Connection () : IDbConnection
An IDbConnection object that contains a connection to the client database.
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 Synchronization Services uses.
For an example of how to access a database over the same connection and within the same transaction that Synchronization Services uses, see How to: Work with Events and Program Business Logic.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).
SchemaCreatedEventArgs Class
SchemaCreatedEventArgs Members
Microsoft.Synchronization.Data Namespace