PerformCleanup 方法
命名空间: Microsoft.Synchronization.Data.SqlServerCe
程序集: Microsoft.Synchronization.Data.SqlServerCe(在 Microsoft.Synchronization.Data.SqlServerCe.dll 中)
语法
声明
Public Function PerformCleanup As Boolean
用法
Dim instance As SqlCeSyncStoreMetadataCleanup
Dim returnValue As Boolean
returnValue = instance.PerformCleanup()
public bool PerformCleanup()
public:
bool PerformCleanup()
member PerformCleanup : unit -> bool
public function PerformCleanup() : boolean
返回值
类型:System. . :: . .Boolean
如果成功地运行了元数据清除,则为 true。否则为 false。
异常
异常 | 条件 |
---|---|
ArgumentNullException | Connection 属性为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。 |
注释
有关元数据清除的更多信息,请参见如何清除协作同步的元数据 (SQL Server)。
请参阅
参考
SqlCeSyncStoreMetadataCleanup类