SPLog.Warning method (String)
Writes the specified string to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Warning ( _
output As String _
)
'Usage
Dim instance As SPLog
Dim output As String
instance.Warning(output)
public void Warning(
string output
)
Parameters
output
Type: System.StringA string containing the warning that will be written to the event log.