Share via


ContainerConnectionInfo.CreateContainerConnectionInfo Method

Definition

Create ContainerConnectionInfo object based on container id.

public:
 static System::Management::Automation::Runspaces::ContainerConnectionInfo ^ CreateContainerConnectionInfo(System::String ^ containerId, bool runAsAdmin, System::String ^ configurationName);
public static System.Management.Automation.Runspaces.ContainerConnectionInfo CreateContainerConnectionInfo (string containerId, bool runAsAdmin, string configurationName);
static member CreateContainerConnectionInfo : string * bool * string -> System.Management.Automation.Runspaces.ContainerConnectionInfo
Public Shared Function CreateContainerConnectionInfo (containerId As String, runAsAdmin As Boolean, configurationName As String) As ContainerConnectionInfo

Parameters

containerId
String
runAsAdmin
Boolean
configurationName
String

Returns

Applies to