다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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