Share via


SqlCeClientSyncProvider.CreatingSchema 事件

在客户端处为每个表创建架构前发生。

命名空间: Microsoft.Synchronization.Data.SqlServerCe
程序集: Microsoft.Synchronization.Data.SqlServerCe(在 microsoft.synchronization.data.sqlserverce.dll 中)

语法

声明
Public Event CreatingSchema As EventHandler(Of CreatingSchemaEventArgs)
用法
Dim instance As SqlCeClientSyncProvider
Dim handler As EventHandler(Of CreatingSchemaEventArgs)

AddHandler instance.CreatingSchema, handler
public event EventHandler<CreatingSchemaEventArgs> CreatingSchema
public:
event EventHandler<CreatingSchemaEventArgs^>^ CreatingSchema {
    void add (EventHandler<CreatingSchemaEventArgs^>^ value);
    void remove (EventHandler<CreatingSchemaEventArgs^>^ value);
}
/** @event */
public void add_CreatingSchema (EventHandler<CreatingSchemaEventArgs> value)

/** @event */
public void remove_CreatingSchema (EventHandler<CreatingSchemaEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

请参阅

参考

SqlCeClientSyncProvider 类
SqlCeClientSyncProvider 成员
Microsoft.Synchronization.Data.SqlServerCe 命名空间