Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the SPBackupRestoreObject with the specified ID.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function FindObject ( _
id As Guid _
) As SPBackupRestoreObject
'Usage
Dim instance As SPBackupRestoreObject
Dim id As Guid
Dim returnValue As SPBackupRestoreObject
returnValue = instance.FindObject(id)
public SPBackupRestoreObject FindObject(
Guid id
)
Parameters
id
Type: System.GuidA Guid that is typically the value of the ID() property of an IBackupRestore object.
Return Value
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject
The SPBackupRestoreObject with the specified ID or a null reference (Nothing in Visual Basic).
Remarks
A SPBackupRestoreObject represents a IBackupRestore content component and has the same ID as the component. Use FindObject to get a reference to the SPBackupRestoreObject that represents the IBackupRestore content component whose ID() is id.
A call to this.FindObject searches a tree of SPBackupRestoreObject objects that includes this.Parent and all the parent's children.
If no object with the specified ID is found, a null reference (Nothing in Visual Basic) is returned.