다음을 통해 공유


SPUserCodeCachedAssemblyGroup Constructor

Initializes a new instance of the SPUserCodeCachedAssemblyGroup class with the specified user assembly group ID and the root directory path where the assemblies in this assembly group are stored.

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

Syntax

'Declaration
Public Sub New ( _
    userCodeAssemblyGroupId As SPUserCodeAssemblyGroupId, _
    rootDirectoryPath As String _
)
'Usage
Dim userCodeAssemblyGroupId As SPUserCodeAssemblyGroupId
Dim rootDirectoryPath As String

Dim instance As New SPUserCodeCachedAssemblyGroup(userCodeAssemblyGroupId, _
    rootDirectoryPath)
public SPUserCodeCachedAssemblyGroup(
    SPUserCodeAssemblyGroupId userCodeAssemblyGroupId,
    string rootDirectoryPath
)

Parameters

  • rootDirectoryPath
    Type: System.String

    The root directory path where assemblies in this assembly group are stored.

Remarks

This constructor sets the value of the UserCodeAssemblyId property to the value of the userCodeAssemblyGroupId parameter and the value of the RootDirectoryPath to the value of the rootDirectoryPath parameter.

See Also

Reference

SPUserCodeCachedAssemblyGroup Class

SPUserCodeCachedAssemblyGroup Members

Microsoft.SharePoint.Administration Namespace