Share via


CommandLineItem Constructor (String)

 

Applies To: Windows Server Update Services

Initializes a new instance of the CommandLineItem class from the given input executable file name.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public CommandLineItem(
    string executableFilePath
)
public:
CommandLineItem(
    String^ executableFilePath
)
new : 
        executableFilePath:string -> CommandLineItem
Public Sub New (
    executableFilePath As String
)

Parameters

  • executableFilePath
    Type: System.String

    Path to the input executable file.

Exceptions

Exception

Condition

ArgumentException

executableFilePath is null or empty.

See Also

CommandLineItem Overload
CommandLineItem Class
Microsoft.UpdateServices.Administration Namespace

Return to top