Click or drag to resize

ServiceControllerCreateService Method

Creates the service.

Namespace:  Xcalibur.Controllers
Assembly:  Xcalibur.Controllers (in Xcalibur.Controllers.dll) Version: 1.0.5.0 (1.0.0.0)
Syntax
public static EnumsServiceCreationStatus CreateService(
	string serviceName,
	string description,
	string fullFilePath,
	string name,
	bool isAuto = true,
	string user = "",
	SecureString password = null
)

Parameters

serviceName
Type: SystemString
Name of the service.
description
Type: SystemString
The description.
fullFilePath
Type: SystemString
The full file path.
name
Type: SystemString
The name.
isAuto (Optional)
Type: SystemBoolean
if set to true [is automatic].
user (Optional)
Type: SystemString
The user.
password (Optional)
Type: System.SecuritySecureString
The password.

Return Value

Type: EnumsServiceCreationStatus
See Also