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.
- farm
Type: Microsoft.SharePoint.Administration.SPFarm
The SharePoint farm where the forms service is located.