SPDefaultSolutionValidator.ValidateAssembly 方法
重写ValidateSolution(SPSolutionValidationProperties)。
命名空间: Microsoft.SharePoint.UserCode
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides Sub ValidateAssembly ( _
properties As SPSolutionValidationProperties, _
assembly As SPSolutionFile _
)
用法
Dim instance As SPDefaultSolutionValidator
Dim properties As SPSolutionValidationProperties
Dim assembly As SPSolutionFile
instance.ValidateAssembly(properties, _
assembly)
public override void ValidateAssembly(
SPSolutionValidationProperties properties,
SPSolutionFile assembly
)
参数
properties
类型:Microsoft.SharePoint.UserCode.SPSolutionValidationProperties解决方案验证程序的属性。
assembly
类型:Microsoft.SharePoint.UserCode.SPSolutionFile要验证的程序集。
备注
默认情况下,此项设置的程序集验证成功。