共用方式為


SPUserCodeService Constructor (SPFarm)

Initializes a new instance of the SPUserCodeService class based in the specified Microsoft SharePoint Foundation farm.

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

Syntax

'Declaration
Public Sub New ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarm

Dim instance As New SPUserCodeService(farm)
public SPUserCodeService(
    SPFarm farm
)

Parameters

See Also

Reference

SPUserCodeService Class

SPUserCodeService Members

SPUserCodeService Overload

Microsoft.SharePoint.Administration Namespace