共用方式為


SimpleSyncProvider.MetadataStoreInitialized 事件

在初始化與提供者相關聯的中繼資料存放區時發生。

命名空間: Microsoft.Synchronization.SimpleProviders
組件: Microsoft.Synchronization.SimpleProviders (在 microsoft.synchronization.simpleproviders.dll)

語法

'宣告
Public Event MetadataStoreInitialized As EventHandler(Of MetadataStoreInitializedEventArgs)
'用途
Dim instance As SimpleSyncProvider
Dim handler As EventHandler(Of MetadataStoreInitializedEventArgs)

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

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

請參閱

參考

SimpleSyncProvider 類別
SimpleSyncProvider 成員
Microsoft.Synchronization.SimpleProviders 命名空間