次の方法で共有


SPDiagnosticsServiceBase.IBackupRestore.Name property

Gets or sets the name for the SPDiagnosticsServiceBase object.

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

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