共用方式為


SPDelegate.Log property

取得SPLog物件,代表升級工作階段的記錄檔。升級工作階段物件可以Session屬性來擷取。

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

Syntax

'宣告
Public ReadOnly Property Log As SPLog
    Get
'用途
Dim instance As SPDelegate
Dim value As SPLog

value = instance.Log
public SPLog Log { get; }

Property value

Type: Microsoft.SharePoint.Upgrade.SPLog
SPLog 物件,代表升級工作階段的記錄檔。

請參閱

參照

SPDelegate class

SPDelegate members

Microsoft.SharePoint.Upgrade namespace