共用方式為


SPDiagnosticsServiceBase.CanRenameOnRestore Property

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Property Value

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

Implements

IBackupRestore.CanRenameOnRestore

Remarks

This implementation always returns false.

See Also

Reference

SPDiagnosticsServiceBase Class

SPDiagnosticsServiceBase Members

Microsoft.SharePoint.Administration Namespace