Visual Basic (Declaration)
<UpgradableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class SPFarm
Inherits SPPersistedUpgradableObject
Implements IBackupRestore, IMigratable