SPDatabaseSequence.SetVersion method
Sets the version that is associated with the version ID.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub SetVersion ( _
id As Guid, _
version As Version _
)
'Usage
Dim id As Guid
Dim version As Version
Me.SetVersion(id, version)
protected void SetVersion(
Guid id,
Version version
)
Parameters
id
Type: System.GuidA GUID that identifies the ID of the version to be set.
version
Type: System.VersionA System.Version object that represents the version.