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字串,提供解決方案驗證程式的名稱。
userCodeService
Type: Microsoft.SharePoint.Administration.SPUserCodeService要與解決方案驗證程式相關聯的使用者程式碼服務的字串識別碼。