IConnectionManager.ActivateConnection(ConnectionInfo) 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.
Activates a connection by opening a new management session.
public:
Microsoft::Web::Management::Client::Connection ^ ActivateConnection(Microsoft::Web::Management::Client::ConnectionInfo ^ connection);
public Microsoft.Web.Management.Client.Connection ActivateConnection (Microsoft.Web.Management.Client.ConnectionInfo connection);
abstract member ActivateConnection : Microsoft.Web.Management.Client.ConnectionInfo -> Microsoft.Web.Management.Client.Connection
Parameters
- connection
- ConnectionInfo
The ConnectionInfo object that contains the Connection object to activate.
Returns
The connection specified by the connection
parameter.
Remarks
Calls to this method will iterate through the connection collection. If the connection is already active, this method will return the connection rather than opening a new session.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for