共用方式為


SPSolutionValidator constructor (String, SPUserCodeService)

初始化使用參數名稱和使用者程式碼服務的SPSolutionValidator類別的執行個體。

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

Syntax

'宣告
Protected Sub New ( _
    name As String, _
    userCodeService As SPUserCodeService _
)
'用途
Dim name As String
Dim userCodeService As SPUserCodeService

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

參數

  • name
    Type: System.String

    字串,提供解決方案驗證程式的名稱。

請參閱

參照

SPSolutionValidator class

SPSolutionValidator members

SPSolutionValidator overload

Microsoft.SharePoint.UserCode namespace