C# Класс Org.IdentityConnectors.Exchange.ExchangePowerShellSupport

Наследование: IPowerShellSupport, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void
InvokePipeline ( Collection commands ) : ICollection
InvokePipeline ( System.Management.Automation.Runspaces.Command item ) : ICollection
InvokeScript ( string script, ICollection parameters ) : ICollection

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

InvokePipeline() публичный Метод

public InvokePipeline ( Collection commands ) : ICollection
commands Collection
Результат ICollection

InvokePipeline() публичный Метод

public InvokePipeline ( System.Management.Automation.Runspaces.Command item ) : ICollection
item System.Management.Automation.Runspaces.Command
Результат ICollection

InvokeScript() публичный Метод

public InvokeScript ( string script, ICollection parameters ) : ICollection
script string
parameters ICollection
Результат ICollection