共用方式為


SPDiagnosticsItem.Name Property

Gets the non-localized name for the item, used when writing to the trace log, or when manipulating categories through the object model or through powershell.

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

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPDiagnosticsItem
Dim value As String

value = instance.Name
public string Name { get; }

Property Value

Type: System.String
The non-localized name for the item.

See Also

Reference

SPDiagnosticsItem Class

SPDiagnosticsItem Members

Microsoft.SharePoint.Administration Namespace