C# 클래스 SampleGenevaSOAPInterface.CallableRunrepSession

Class to start and run callable runrep sessions via the Geneva SOAP interface.
상속: GenevaSOAPSession
파일 보기 프로젝트 열기: GFTUSA/GFTInternal 1 사용 예제들

공개 메소드들

메소드 설명
CallableRunrepSession ( string soapURL, string host, int port, string username, string password, bool sharedConnection ) : System

Constructor

GetHeaders ( string report, string parameters, string winSCPPath, string rslFilePath, string windowsOutput, WinSCPSession winSCP ) : List
GetPortfolios ( string query, string windowsOutput ) : List
RunReport ( string report, string parameters, RunrepResultTypes resultType ) : void
RunReports ( List reportList, List portfolioList, string serverType, string version, WinSCPSession winSCP, string winSCPPath, string rslFilePath, string windowsOutput ) : void
RunSQLSelect ( string query, RunrepResultTypes resultType ) : void

Method to run a Geneva SELECT statement.

비공개 메소드들

메소드 설명
OnReportReady ( object sender, EventArgs e ) : void
OnStartRunningReport ( object sender, EventArgs e ) : void
getFormattedResults ( string report, string parameters, string format ) : void
serializeToConsole ( object results ) : void

Serialize the results from a query or report to the console.

serializeToXml ( object results ) : XmlDocument

Serialize the results object from a query or report to Xml

startRunrepSession ( ) : string

Method to start a callable runrep session.

메소드 상세

CallableRunrepSession() 공개 메소드

Constructor
public CallableRunrepSession ( string soapURL, string host, int port, string username, string password, bool sharedConnection ) : System
soapURL string URL for the Geneva SOAP Interface, in the form http://server:port, where port is the dbaserver port number, as defined in dbaserver.ini.
host string Server name that is running your Geneva service manager.
port int Port where the Geneva service manager is running, defined in geneva.ini.
username string Geneva username to login and run your report.
password string Password for the Geneva user.
sharedConnection bool True if this is a shared connection, false if you want to use a persistent connection.
리턴 System

GetHeaders() 공개 메소드

public GetHeaders ( string report, string parameters, string winSCPPath, string rslFilePath, string windowsOutput, WinSCPSession winSCP ) : List
report string
parameters string
winSCPPath string
rslFilePath string
windowsOutput string
winSCP WinSCPSession
리턴 List

GetPortfolios() 공개 메소드

public GetPortfolios ( string query, string windowsOutput ) : List
query string
windowsOutput string
리턴 List

RunReport() 공개 메소드

public RunReport ( string report, string parameters, RunrepResultTypes resultType ) : void
report string
parameters string
resultType RunrepResultTypes
리턴 void

RunReports() 공개 메소드

public RunReports ( List reportList, List portfolioList, string serverType, string version, WinSCPSession winSCP, string winSCPPath, string rslFilePath, string windowsOutput ) : void
reportList List
portfolioList List
serverType string
version string
winSCP WinSCPSession
winSCPPath string
rslFilePath string
windowsOutput string
리턴 void

RunSQLSelect() 공개 메소드

Method to run a Geneva SELECT statement.
public RunSQLSelect ( string query, RunrepResultTypes resultType ) : void
query string String containing the SELECT statement to run.
resultType RunrepResultTypes
리턴 void