Share via


SPSiteSequence.SetVersion method

Sets the version of the site collection sequence within the Versions table of the Microsoft SharePoint Foundation database.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Friend Sub SetVersion ( _
    id As Guid, _
    version As Version _
)
'Usage
Dim id As Guid
Dim version As Version

Me.SetVersion(id, version)
protected internal void SetVersion(
    Guid id,
    Version version
)

Parameters

  • id
    Type: System.Guid

    A GUID that identifies the site collection.

  • version
    Type: System.Version

    A System.Version object that represents the version.

See also

Reference

SPSiteSequence class

SPSiteSequence members

Microsoft.SharePoint.Upgrade namespace