DSPMetadata AddServiceOperation Method
Adds a new service operation.

Namespace: HotDocs.Sdk.DataServices
Assembly: HotDocs.Sdk.DataServices (in HotDocs.Sdk.DataServices.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public ServiceOperation AddServiceOperation(
	string name,
	ServiceOperationResultKind resultKind,
	ResourceType resultType,
	ResourceSet resultSet,
	string method,
	IEnumerable<ServiceOperationParameter> parameters
)

Parameters

name
Type: OnlineSystem String
The name of the service operation.
resultKind
Type: OnlineSystem.Data.Services.Providers ServiceOperationResultKind
The kind of service operation.
resultType
Type: OnlineSystem.Data.Services.Providers ResourceType
The type of service operation.
resultSet
Type: OnlineSystem.Data.Services.Providers ResourceSet
Information about the resource.
method
Type: OnlineSystem String
The method of the service operation.
parameters
Type: OnlineSystem.Collections.Generic IEnumerable OnlineServiceOperationParameter 
Parameters for the service operation.

Return Value

Type: OnlineServiceOperation
The newly added service operation.
See Also