ContainerConnectionInfo.CreateContainerConnectionInfo 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.
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