다음을 통해 공유


SPUserCodeCachedAssemblyGroup.Validate Method

Validates the data structures of this user assembly group and the files on disk.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub Validate
'Usage
Dim instance As SPUserCodeCachedAssemblyGroup

instance.Validate()
public void Validate()

Exceptions

Exception Condition
InvalidOperationException

The root directory of this user assembly group does not exist.

-or-

A file from this user assembly group is missing from the disk contents.

-or-

A file from this user assembly group in the assembly collection is using a strong name key, but is not in the file collection.

-or-

A file found in the directory for this user assembly group is missing from the in-memory data structures.

Remarks

This method always sets the LastAccessedTime to the current date and time.

See Also

Reference

SPUserCodeCachedAssemblyGroup Class

SPUserCodeCachedAssemblyGroup Members

Microsoft.SharePoint.Administration Namespace