FormsService Constructor (String, SPFarm)

Initializes a new instance of the FormsService class using the specified service name and farm.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

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

Dim instance As New FormsService(serviceName, _
    farm)
public FormsService(
    string serviceName,
    SPFarm farm
)

Parameters

  • serviceName
    Type: System.String
    The name of the forms service, typically FormsService.

See Also

Reference

FormsService Class

FormsService Members

FormsService Overload

Microsoft.Office.InfoPath.Server.Administration Namespace