CimSession.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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