共用方式為


SPSolutionValidator.ValidateSolution method

驗證方案套件的虛擬方法。此方法會執行一次,每個解決方案套件。

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

Syntax

'宣告
Public Overridable Sub ValidateSolution ( _
    properties As SPSolutionValidationProperties _
)
'用途
Dim instance As SPSolutionValidator
Dim properties As SPSolutionValidationProperties

instance.ValidateSolution(properties)
public virtual void ValidateSolution(
    SPSolutionValidationProperties properties
)

參數

請參閱

參照

SPSolutionValidator class

SPSolutionValidator members

Microsoft.SharePoint.UserCode namespace