共用方式為


SPTracingService class

代表伺服器陣列的範圍啟用Microsoft SharePoint Foundation 2010診斷追蹤的 Windows 服務。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPService
          Microsoft.SharePoint.Administration.SPWindowsService
            Microsoft.SharePoint.Administration.SPTracingService

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

Syntax

'宣告
<GuidAttribute("1D5BAFE6-12C0-4100-8641-494EEAB64F20")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPTracingService _
    Inherits SPWindowsService
'用途
Dim instance As SPTracingService
[GuidAttribute("1D5BAFE6-12C0-4100-8641-494EEAB64F20")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPTracingService : SPWindowsService

備註

此命名空間或類別的成員是保留給內部使用,而不是用來直接從您的程式碼使用。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPTracingService members

Microsoft.SharePoint.Administration namespace