다음을 통해 공유


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

Remarks

By default, this sets the assembly validation to success.

See Also

Reference

SPDefaultSolutionValidator Class

SPDefaultSolutionValidator Members

Microsoft.SharePoint.UserCode Namespace