Share via


CimSessionOptions Constructor (String)

 

Creates and initializes a new instance of the CimSessionOptions class that uses a specific transport protocol.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

protected CimSessionOptions(
    string protocol
)
protected:
CimSessionOptions(
    String^ protocol
)
new : 
        protocol:string -> CimSessionOptions
Protected Sub New (
    protocol As String
)

Parameters

  • protocol
    Type: System.String

    The protocol to use. This string corresponds to a registry key.

See Also

CimSessionOptions Overload
CimSessionOptions Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top