Share via


SPPersistedObjectSequence.SetVersion method

Set the associated SPPersistedUpgradableObject version.

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

Remarks

Unless already updating the object, this will cause an update to occur.

See also

Reference

SPPersistedObjectSequence class

SPPersistedObjectSequence members

Microsoft.SharePoint.Upgrade namespace