SPDefaultSolutionValidator.ValidateAssembly Method
Overrides ValidateSolution(SPSolutionValidationProperties).
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub ValidateAssembly ( _
properties As SPSolutionValidationProperties, _
assembly As SPSolutionFile _
)
'Usage
Dim instance As SPDefaultSolutionValidator
Dim properties As SPSolutionValidationProperties
Dim assembly As SPSolutionFile
instance.ValidateAssembly(properties, _
assembly)
public override void ValidateAssembly(
SPSolutionValidationProperties properties,
SPSolutionFile assembly
)
Parameters
properties
Type: Microsoft.SharePoint.UserCode.SPSolutionValidationPropertiesThe properties of the solution validator.
assembly
Type: Microsoft.SharePoint.UserCode.SPSolutionFileThe assembly to validate.
Remarks
By default, this sets the assembly validation to success.
See Also
Reference
SPDefaultSolutionValidator Class