Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the name of the computer used for the CIM session.
Namespace: Microsoft.Management.Infrastructure
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public void SetCimSessionComputerName(
string computerName
)
public:
void SetCimSessionComputerName(
String^ computerName
)
member SetCimSessionComputerName :
computerName:string -> unit
Public Sub SetCimSessionComputerName (
computerName As String
)
Parameters
computerName
Type: System.StringThe name of the computer used for the CIM session. null if the current instance is client-side only, or if the instance was retrieved from localhost.
See also
CimInstance Class
Microsoft.Management.Infrastructure namespace