Share via


SqlSyncStoreMetadataUpgrade.NeedsUpgrade Method

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

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

Syntax

'Declaration
Public Function NeedsUpgrade As Boolean
'Usage
Dim instance As SqlSyncStoreMetadataUpgrade
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

SqlSyncStoreMetadataUpgrade Class

Microsoft.Synchronization.Data.SqlServer Namespace