共用方式為


SPAction.Log Property

Gets an SPLog object. The SPAction class should use this SPLog object to log any errors, warnings or debug information during the upgrade process.

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

Syntax

'Declaration
Public ReadOnly Property Log As SPLog
    Get
'Usage
Dim instance As SPAction
Dim value As SPLog

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

Property Value

Type: Microsoft.SharePoint.Upgrade.SPLog
An SPLog object that provides access to the upgrade log file of the current upgrade session.

See Also

Reference

SPAction Class

SPAction Members

Microsoft.SharePoint.Upgrade Namespace