Share via


SPDefaultSolutionValidator.ValidateAssembly method

Overrides ValidateSolution(SPSolutionValidationProperties).

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

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

Remarks

By default, this sets the assembly validation to success.

See also

Reference

SPDefaultSolutionValidator class

SPDefaultSolutionValidator members

Microsoft.SharePoint.UserCode namespace