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.StringA string providing the name for the solution validator.
userCodeService
Type: Microsoft.SharePoint.Administration.SPUserCodeServiceA string identifier for the user code service to be associated with the solution validator.