CSharpTest.Net
Create Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Services Namespace > SvcControlManager Class : Create Method

serviceName
displayName
interactive
startupType
exePath
arguments
accountName
password

Glossary Item Box

Creates the specified service and returns a SvcControlManager for the service created

Syntax

Visual Basic (Declaration) 
Public Shared Function Create( _
   ByVal serviceName As String, _
   ByVal displayName As String, _
   ByVal interactive As Boolean, _
   ByVal startupType As ServiceStartMode, _
   ByVal exePath As String, _
   ByVal arguments() As String, _
   ByVal accountName As String, _
   ByVal password As String _
) As SvcControlManager

Parameters

serviceName
displayName
interactive
startupType
exePath
arguments
accountName
password

Exceptions

ExceptionDescription
System.ComponentModel.Win32Exception 

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys