Share via


CimSession.CreateAsync Method

Definition

Overloads

CreateAsync(String)
CreateAsync(String, CimSessionOptions)

CreateAsync(String)

public:
 static Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimSession ^> ^ CreateAsync(System::String ^ computerName);
public static Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimSession> CreateAsync (string computerName);
static member CreateAsync : string -> Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimSession>
Public Shared Function CreateAsync (computerName As String) As CimAsyncResult(Of CimSession)

Parameters

computerName
String

Returns

Applies to

CreateAsync(String, CimSessionOptions)

public:
 static Microsoft::Management::Infrastructure::Generic::CimAsyncResult<Microsoft::Management::Infrastructure::CimSession ^> ^ CreateAsync(System::String ^ computerName, Microsoft::Management::Infrastructure::Options::CimSessionOptions ^ sessionOptions);
public static Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimSession> CreateAsync (string computerName, Microsoft.Management.Infrastructure.Options.CimSessionOptions sessionOptions);
static member CreateAsync : string * Microsoft.Management.Infrastructure.Options.CimSessionOptions -> Microsoft.Management.Infrastructure.Generic.CimAsyncResult<Microsoft.Management.Infrastructure.CimSession>
Public Shared Function CreateAsync (computerName As String, sessionOptions As CimSessionOptions) As CimAsyncResult(Of CimSession)

Parameters

computerName
String
sessionOptions
CimSessionOptions

Returns

Applies to