次の方法で共有


Site.GetMigrationJobStatus メソッド

This method queries the queue for the status of the specified migration job. It is an optional check that can be called after the CreateMigrationJob method and uses the id returned by that call. Once the migration job has completed, it will no longer show up in the queue and you should check the notification queue and/or log output for detailed status.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Function GetMigrationJobStatus ( _
    id As Guid _
) As ClientResult(Of MigrationJobState)
'使用
Dim instance As Site
Dim id As Guid
Dim returnValue As ClientResult(Of MigrationJobState)

returnValue = instance.GetMigrationJobStatus(id)
public ClientResult<MigrationJobState> GetMigrationJobStatus(
    Guid id
)

パラメーター

  • id
    型: System.Guid

    The unique identifier of the migration job returned from the CreateMigrationJob method.

戻り値

型: Microsoft.SharePoint.Client.ClientResult<MigrationJobState>
The migration job status is returned using a MigrationJobState object if the job is found in the queue. If the job is unsuccessful, a value of none (0) is returned.

SPMigrationJobState CurrentJobState = TargetSite.GetMigrationJobStatus(MigrationJobId);

関連項目

参照先

Site クラス

Site メンバー

Microsoft.SharePoint.Client 名前空間