IisWebServiceBackupBehaviorAttribute.CanRenameOnRestore property
會指出是否可以重新命名之項目的或不在還原使用 [重新命名] 選項。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable ReadOnly Property CanRenameOnRestore As Boolean
Get
'用途
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim value As Boolean
value = instance.CanRenameOnRestore
public virtual bool CanRenameOnRestore { get; }
Property value
Type: System.Boolean
傳回 Boolean。
備註
如果這是,則為 true 的新位置和新的名稱將會在儲存:
字串 newLocation = (String) args。]; Parameters[SPBackupRestoreObject.SPNewLocation
字串 newName = (String) args。]; Parameters[SPBackupRestoreObject.SPNewName
字串 newServer = (String) args。]; Parameters[SPBackupRestoreObject.SPNewServer
請參閱
參照
IisWebServiceBackupBehaviorAttribute class