共用方式為


SPFarm.TraceSessionGuid Property

Gets the static GUID that is used to register a trace session.

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

Syntax

'Declaration
Public ReadOnly Property TraceSessionGuid As Guid
    Get
'Usage
Dim instance As SPFarm
Dim value As Guid

value = instance.TraceSessionGuid
public Guid TraceSessionGuid { get; }

Property Value

Type: System.Guid
A Guid object that registers the trace session.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace