共用方式為


SPRestoreInformation.RestoreMethod property

取得作業的還原方法。

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property RestoreMethod As SPRestoreMethodType
    Get
'用途
Dim instance As SPRestoreInformation
Dim value As SPRestoreMethodType

value = instance.RestoreMethod
public SPRestoreMethodType RestoreMethod { get; }

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPRestoreMethodType
會指定進行還原SPRestoreMethodType會覆寫或新的部署。

請參閱

參照

SPRestoreInformation class

SPRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace