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)
Syntax
'Declaration
Public Sub New ( _
farm As SPFarm _
)
'Usage
Dim farm As SPFarm
Dim instance As New SPUserCodeService(farm)
public SPUserCodeService(
SPFarm farm
)
Parameters
farm
Type: Microsoft.SharePoint.Administration.SPFarmThe farm in which to create the service.