共用方式為


SPDiagnosticsItem constructor (String, UInt32, UInt32, Boolean)

初始化SPDiagnosticsItem類別的新執行個體

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

Syntax

'宣告
Public Sub New ( _
    name As String, _
    messageId As UInteger, _
    itemId As UInteger, _
    hidden As Boolean _
)
'用途
Dim name As String
Dim messageId As UInteger
Dim itemId As UInteger
Dim hidden As Boolean

Dim instance As New SPDiagnosticsItem(name, messageId, _
    itemId, hidden)
public SPDiagnosticsItem(
    string name,
    uint messageId,
    uint itemId,
    bool hidden
)

參數

  • messageId
    Type: System.UInt32

    Integer 值來代表這個項目對應的訊息資料表中的索引。

  • hidden
    Type: System.Boolean

    若為 true,從系統管理使用者介面是隱藏的項目。

請參閱

參照

SPDiagnosticsItem class

SPDiagnosticsItem members

SPDiagnosticsItem overload

Microsoft.SharePoint.Administration namespace