共用方式為


SPDatabase.CanRenameOnRestore property

取得 Boolean 值,指出已還原時,是否可以重新命名資料庫。

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

Syntax

'宣告
Public ReadOnly Property CanRenameOnRestore As Boolean
    Get
'用途
Dim instance As SPDatabase
Dim value As Boolean

value = instance.CanRenameOnRestore
public bool CanRenameOnRestore { get; }

Property value

Type: System.Boolean
true 是表示 如果可以重新命名資料庫 ;否則為false

Implements

IBackupRestore.CanRenameOnRestore

備註

CanRenameOnRestore屬性會實作SPDatabase類別的Microsoft.SharePoint.Administration.Backup.IBackupRestore介面中所定義的CanRenameOnRestore屬性。

請參閱

參照

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace