FormsService.ServiceName Field
The forms service name.
Namespace: Microsoft.Office.InfoPath.Server.Administration
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Syntax
'Declaration
Public Const ServiceName As String
'Usage
Dim value As String
value = FormsService.ServiceName
public const string ServiceName
Remarks
The ServiceName field is used when referencing the forms service, and may make administration automation code easier to read and maintain instead of using the ServiceId.