Method | Description | |
---|---|---|
AddServiceConnection ( this sessionState, string connectionName, |
A SessionState extension method that adds a service connection.
|
|
GetDefaultServiceConnection ( this sessionState ) : |
A SessionState extension method that gets default service connection.
|
|
GetServiceConnectionByName ( this sessionState, string name ) : |
A SessionState extension method that gets service connection by name.
|
|
GetServiceConnections ( this sessionState ) : St2ClientConnection>.IReadOnlyDictionary |
A SessionState extension method that gets service connections.
|
|
RemoveServiceConnection ( this sessionState, string connectionName ) : bool |
A SessionState extension method that removes the service connection.
|
|
SetDefaultServiceConnection ( this sessionState, string connectionName ) : void |
A SessionState extension method that sets default service connection.
|
Method | Description | |
---|---|---|
GetServiceConnectionsFromSession ( System.Management.Automation.SessionState sessionState ) : St2ClientConnection>.Dictionary |
Gets service connections from session.
|
public static AddServiceConnection ( this sessionState, string connectionName, |
||
sessionState | this | . |
connectionName | string | The connection Name. |
connection | The connection. | |
return |
public static GetDefaultServiceConnection ( this sessionState ) : |
||
sessionState | this | . |
return |
public static GetServiceConnectionByName ( this sessionState, string name ) : |
||
sessionState | this | . |
name | string | The name. |
return |
public static GetServiceConnections ( this sessionState ) : St2ClientConnection>.IReadOnlyDictionary |
||
sessionState | this | . |
return | St2ClientConnection>.IReadOnlyDictionary |
public static RemoveServiceConnection ( this sessionState, string connectionName ) : bool | ||
sessionState | this | . |
connectionName | string | The connection Name. |
return | bool |
public static SetDefaultServiceConnection ( this sessionState, string connectionName ) : void | ||
sessionState | this | . |
connectionName | string | The connection Name. |
return | void |