共用方式為


SPDiagnosticsServiceBase.IBackupRestore.Name Property

Gets or sets the name for the SPDiagnosticsServiceBase object.

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

Syntax

'Declaration
Private Property Name As String Implements IBackupRestore.Name
    Get
    Set
'Usage
Dim instance As SPDiagnosticsServiceBase
Dim value As String

value = CType(instance, IBackupRestore).Name

CType(instance, IBackupRestore).Name = value
stringIBackupRestore.Name { get; set; }

Property Value

Type: System.String
The name of the SPDiagnosticsServiceBase object.

Implements

IBackupRestore.Name

Remarks

The Name property serves as the name of the SPDiagnosticsServiceBase object in the user interface (UI) of stsadm.exe, the UI of the Central Administration application, and the UI of any custom backup and restore application.

The set accessor of this property does nothing.

This member is an explicit interface member implementation. It can be used only when the SPDiagnosticsServiceBase instance is cast to an IBackupRestore interface.

See Also

Reference

SPDiagnosticsServiceBase Class

SPDiagnosticsServiceBase Members

Microsoft.SharePoint.Administration Namespace