Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the CreatingSchemaEventArgs class by using synchronization table, schema, connection, and transaction parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
syncTable As SyncTable, _
syncSchema As SyncSchema, _
connection As IDbConnection, _
transaction As IDbTransaction _
)
'Usage
Dim syncTable As SyncTable
Dim syncSchema As SyncSchema
Dim connection As IDbConnection
Dim transaction As IDbTransaction
Dim instance As New CreatingSchemaEventArgs(syncTable, _
syncSchema, connection, transaction)
public CreatingSchemaEventArgs(
SyncTable syncTable,
SyncSchema syncSchema,
IDbConnection connection,
IDbTransaction transaction
)
public:
CreatingSchemaEventArgs(
SyncTable^ syncTable,
SyncSchema^ syncSchema,
IDbConnection^ connection,
IDbTransaction^ transaction
)
new :
syncTable:SyncTable *
syncSchema:SyncSchema *
connection:IDbConnection *
transaction:IDbTransaction -> CreatingSchemaEventArgs
public function CreatingSchemaEventArgs(
syncTable : SyncTable,
syncSchema : SyncSchema,
connection : IDbConnection,
transaction : IDbTransaction
)
Parameters
- syncTable
Type: Microsoft.Synchronization.Data.SyncTable
A SyncTable object that contains settings for the table that is being created.
- syncSchema
Type: Microsoft.Synchronization.Data.SyncSchema
A SyncSchema object. This is a DataSet that contains schema information for the table that is being created.
- connection
Type: System.Data.IDbConnection
An IDbConnection object that contains a connection to the client or server database.
- transaction
Type: System.Data.IDbTransaction
An IDbTransaction object that contains the transaction within which the schema will be created.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | syncTable is a null reference (Nothing in Visual Basic). |