Share via


SPUserCodeExecutionContext.SolutionValidationErrorUrl property

Gets or sets the destination URL for a redirection that is made after the failure of the last user-code validator.

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

Syntax

'Declaration
Public Property SolutionValidationErrorUrl As String
    Get
    Set
'Usage
Dim instance As SPUserCodeExecutionContext
Dim value As String

value = instance.SolutionValidationErrorUrl

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

Property value

Type: System.String
A string that represents a URL or, if the last user-code validator was successful, a value of a null reference (Nothing in Visual Basic).

Remarks

If the last user-code validator was successful, this value must be a null reference (Nothing in Visual Basic).

Full Trust permissions are required to set this property.

See also

Reference

SPUserCodeExecutionContext class

SPUserCodeExecutionContext members

Microsoft.SharePoint.UserCode namespace