Share via


SqlCeSyncStoreMetadataUpgrade.NeedsUpgrade Method

Indicates whether the metadata format of the database needs to be upgraded.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Function NeedsUpgrade As Boolean
'Usage
Dim instance As SqlCeSyncStoreMetadataUpgrade
Dim returnValue As Boolean

returnValue = instance.NeedsUpgrade()
public bool NeedsUpgrade()
public:
bool NeedsUpgrade()
member NeedsUpgrade : unit -> bool 
public function NeedsUpgrade() : boolean

Return Value

Type: System.Boolean
true when the metadata format needs to be upgraded; false when the metadata format is the current version.

See Also

Reference

SqlCeSyncStoreMetadataUpgrade Class

Microsoft.Synchronization.Data.SqlServerCe Namespace