Share via


SPManager.LoggingEnabled property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that determines whether logging is enabled for the upgrade.

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

Syntax

'Declaration
<ObsoleteAttribute("Upgrade uses session based logs in this release. Upgrade session logs cannot be disabled.")> _
Public Property LoggingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPManager
Dim value As Boolean

value = instance.LoggingEnabled

instance.LoggingEnabled = value
[ObsoleteAttribute("Upgrade uses session based logs in this release. Upgrade session logs cannot be disabled.")]
public bool LoggingEnabled { get; set; }

Property value

Type: System.Boolean
true to enable logging for the upgrade; otherwise, false.

See also

Reference

SPManager class

SPManager members

Microsoft.SharePoint.Upgrade namespace