共用方式為


SPDiagnosticsEntry.MachineName property

取得與容納所指定的記錄項目的電腦的名稱。

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

Syntax

'宣告
Public ReadOnly Property MachineName As String
    Get
'用途
Dim instance As SPDiagnosticsEntry
Dim value As String

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

Property value

Type: System.String
傳回 String

請參閱

參照

SPDiagnosticsEntry class

SPDiagnosticsEntry members

Microsoft.SharePoint.Diagnostics namespace