DbSelectingChangesEventArgs Constructor (DbSyncScopeMetadata, DbSyncSession, DbSyncContext, IDbConnection, IDbTransaction)
Initializes a new instance of the DbSelectingChangesEventArgs class by using scope metadata, session, context, connection, and transaction parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Sub New ( _
scopeMetadata As DbSyncScopeMetadata, _
session As DbSyncSession, _
context As DbSyncContext, _
connection As IDbConnection, _
transaction As IDbTransaction _
)
'Usage
Dim scopeMetadata As DbSyncScopeMetadata
Dim session As DbSyncSession
Dim context As DbSyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction
Dim instance As New DbSelectingChangesEventArgs(scopeMetadata, session, context, connection, transaction)
public DbSelectingChangesEventArgs (
DbSyncScopeMetadata scopeMetadata,
DbSyncSession session,
DbSyncContext context,
IDbConnection connection,
IDbTransaction transaction
)
public:
DbSelectingChangesEventArgs (
DbSyncScopeMetadata^ scopeMetadata,
DbSyncSession^ session,
DbSyncContext^ context,
IDbConnection^ connection,
IDbTransaction^ transaction
)
public DbSelectingChangesEventArgs (
DbSyncScopeMetadata scopeMetadata,
DbSyncSession session,
DbSyncContext context,
IDbConnection connection,
IDbTransaction transaction
)
public function DbSelectingChangesEventArgs (
scopeMetadata : DbSyncScopeMetadata,
session : DbSyncSession,
context : DbSyncContext,
connection : IDbConnection,
transaction : IDbTransaction
)
Parameters
- scopeMetadata
A DbSyncScopeMetaData object that contains metadata, such as synchronization knowledge.
- session
A DbSyncSession object that contains metadata about the current synchronization session.
- context
A DbSyncContext object that contains data changes, anchor values, and other metadata for a synchronization session.
- connection
An IDbConnection object that contains a connection to the peer database.
- transaction
An IDbTransaction object that contains the transaction within which changes to tables are selected.
See Also
Reference
DbSelectingChangesEventArgs Class
DbSelectingChangesEventArgs Members
Microsoft.Synchronization.Data Namespace