Partilhar via


ErrorCodes Enumeration

Specifies the type of error that occurred during an operation of STSADM.EXE. This class is deprecated and may not be supported in future releases of Microsoft SharePoint Foundation. For custom command line operations, see the Microsoft.SharePoint.PowerShell namespace.

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

Syntax

'Declaration
Public Enumeration ErrorCodes
'Usage
Dim instance As ErrorCodes
public enum ErrorCodes

Members

Member name Description
NoError
GeneralError A non-syntax error.
SyntaxError A syntax error.

Remarks

This class is documented only to provide assistance in troubleshooting existing extensions of STSADM.EXE. Do not create new extensions. Instead, extend PowerShell. See the Microsoft.SharePoint.PowerShell namespace.

See Also

Reference

Microsoft.SharePoint.StsAdmin Namespace