Share via


Site.DeleteMigrationJob method

This method deletes the migration job created by CreateMigrationJob. The job is identified by the id returned from that call.

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

Syntax

'Declaration
Public Function DeleteMigrationJob ( _
    id As Guid _
) As ClientResult(Of Boolean)
'Usage
Dim instance As Site
Dim id As Guid
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.DeleteMigrationJob(id)
public ClientResult<bool> DeleteMigrationJob(
    Guid id
)

Parameters

  • id
    Type: System.Guid

    The ID of the job that you want to delete. This is the ID returned by CreateMigrationJob.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
Indicates success or failure.

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace