다음을 통해 공유


SPDatabase.CanRenameOnRestore property

Gets a Boolean value that indicates whether the database can be renamed when it is restored.

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

Syntax

'Declaration
Public ReadOnly Property CanRenameOnRestore As Boolean
    Get
'Usage
Dim instance As SPDatabase
Dim value As Boolean

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

Property value

Type: System.Boolean
true if the database can be renamed; otherwise, false.

Implements

IBackupRestore.CanRenameOnRestore

Remarks

The CanRenameOnRestore property implements the CanRenameOnRestore property that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface for the SPDatabase class.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace