Udostępnij za pośrednictwem


CimSession.Create Method

Definition

Overloads

Create(String)
Create(String, CimSessionOptions)

Create(String)

public:
 static Microsoft::Management::Infrastructure::CimSession ^ Create(System::String ^ computerName);
public static Microsoft.Management.Infrastructure.CimSession Create (string computerName);
static member Create : string -> Microsoft.Management.Infrastructure.CimSession
Public Shared Function Create (computerName As String) As CimSession

Parameters

computerName
String

Returns

Applies to

Create(String, CimSessionOptions)

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

Parameters

computerName
String
sessionOptions
CimSessionOptions

Returns

Applies to