Share via


SPUpgradeJobDefinition.LogFilePath property

NOTE: This API is now obsolete.

Gets or sets the path for the log file on the local server.

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

Syntax

'Declaration
<ObsoleteAttribute("SPWssUpgradeJobDefinition will use Session.LogFilePath instead")> _
Public Property LogFilePath As String
    Get
    Set
'Usage
Dim instance As SPUpgradeJobDefinition
Dim value As String

value = instance.LogFilePath

instance.LogFilePath = value
[ObsoleteAttribute("SPWssUpgradeJobDefinition will use Session.LogFilePath instead")]
public string LogFilePath { get; set; }

Property value

Type: System.String
A String object that contains a path.

Remarks

If the path that you supply includes a file name, it is ignored. If no path is provided, the log file is created in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.

See also

Reference

SPUpgradeJobDefinition class

SPUpgradeJobDefinition members

Microsoft.SharePoint.Administration namespace