C# Class Org.IdentityConnectors.Exchange.ExchangePowerShellSupport

Inheritance: IPowerShellSupport, IDisposable
Mostrar archivo Open project: Evolveum/openicf Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
InvokePipeline ( Collection commands ) : ICollection
InvokePipeline ( System.Management.Automation.Runspaces.Command item ) : ICollection
InvokeScript ( string script, ICollection parameters ) : ICollection

Private Methods

Method Description
AssemblyResolver2007 ( object sender, ResolveEventArgs args ) : Assembly

Creates Exchange 2007 Assembly Resolver, ResolveEventHandler

CreateExchangeRunspace ( ) : System.Management.Automation.Runspaces.Runspace
ExchangePowerShellSupport ( string configuredExchangeVersion, string exchangeUri, ConnectorMessages messageCatalog ) : System
GetExchangeServerVersion ( string configuredExchangeVersion ) : ExchangeVersion

Determines the version of the Exchange server.

As the remote management functionality is not utilized, the Exchange powershell snap-in must be registered on the local computer. Different snap-in is used to manage Exchange 2007 and 2010, hence the server version is determined by the registered snap-in.

GetRegistryStringValue ( string keyName, string valName ) : string

Get registry value, which is expected to be a string

InitRunSpace ( ) : System.Management.Automation.Runspaces.Runspace

Method Details

Dispose() public method

public Dispose ( ) : void
return void

InvokePipeline() public method

public InvokePipeline ( Collection commands ) : ICollection
commands Collection
return ICollection

InvokePipeline() public method

public InvokePipeline ( System.Management.Automation.Runspaces.Command item ) : ICollection
item System.Management.Automation.Runspaces.Command
return ICollection

InvokeScript() public method

public InvokeScript ( string script, ICollection parameters ) : ICollection
script string
parameters ICollection
return ICollection