Share via


SPSolutionValidationProperties.ValidationErrorMessage property

Gets or sets an error message that explains why the solution is invalid.

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

Syntax

'Declaration
Public Property ValidationErrorMessage As String
    Get
    Set
'Usage
Dim instance As SPSolutionValidationProperties
Dim value As String

value = instance.ValidationErrorMessage

instance.ValidationErrorMessage = value
public string ValidationErrorMessage { get; set; }

Property value

Type: System.String
A string that contains the error message.

See also

Reference

SPSolutionValidationProperties class

SPSolutionValidationProperties members

Microsoft.SharePoint.UserCode namespace