C# Class AnfiniL.SqlExpressProfiler.Logic.TraceManager

Afficher le fichier Open project: a2n/sqlexpressprofiler Class Usage Examples

Méthodes publiques

Méthode Description
CanRunTrace ( string traceName ) : bool
DeleteProfiler ( IProfiler profiler ) : void
GetUserTraceEvents ( ) : int>>.IEnumerable
RunProfiler ( IProfiler profiler ) : Trace
RunProfiler ( string serverName, string username, string password, string traceName, string rawConn, TraceEventProperties events, FilterProperties filters ) : Trace
SetUserTraceEvents ( int>.IEnumerable events ) : void
TraceManager ( Control ctrl ) : System

Private Methods

Méthode Description
FillSource ( IProfiler profiler, DataTable table ) : void
GetAppDataFolder ( ) : string
InitializeProfiler ( IProfiler profiler ) : void
profiler_TraceEvent ( object sender, SqlServerTools.Data.TraceEventArgs e ) : void

Method Details

CanRunTrace() public méthode

public CanRunTrace ( string traceName ) : bool
traceName string
Résultat bool

DeleteProfiler() public méthode

public DeleteProfiler ( IProfiler profiler ) : void
profiler IProfiler
Résultat void

GetUserTraceEvents() public static méthode

public static GetUserTraceEvents ( ) : int>>.IEnumerable
Résultat int>>.IEnumerable

RunProfiler() public méthode

public RunProfiler ( IProfiler profiler ) : Trace
profiler IProfiler
Résultat Trace

RunProfiler() public méthode

public RunProfiler ( string serverName, string username, string password, string traceName, string rawConn, TraceEventProperties events, FilterProperties filters ) : Trace
serverName string
username string
password string
traceName string
rawConn string
events SqlServerTools.Data.TraceEventProperties
filters AnfiniL.SqlServerTools.Data.FilterProperties
Résultat Trace

SetUserTraceEvents() public static méthode

public static SetUserTraceEvents ( int>.IEnumerable events ) : void
events int>.IEnumerable
Résultat void

TraceManager() public méthode

public TraceManager ( Control ctrl ) : System
ctrl System.Windows.Forms.Control
Résultat System