Share via


SPSolutionValidator constructor (String, SPUserCodeService)

Initializes an instance of the SPSolutionValidator class using parameters for name and user code service.

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

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    userCodeService As SPUserCodeService _
)
'Usage
Dim name As String
Dim userCodeService As SPUserCodeService

Dim instance As New SPSolutionValidator(name, userCodeService)
protected SPSolutionValidator(
    string name,
    SPUserCodeService userCodeService
)

Parameters

  • name
    Type: System.String

    A string providing the name for the solution validator.

See also

Reference

SPSolutionValidator class

SPSolutionValidator members

SPSolutionValidator overload

Microsoft.SharePoint.UserCode namespace