Share via


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