Table of Contents

Class DataSourceTestResult

Namespace
ReportWright.Data.Metadata
Assembly
ReportWright.Data.Abstractions.dll

The outcome of testing a data source. Client-facing: the message names a cause, never a connection string.

public sealed class DataSourceTestResult
Inheritance
DataSourceTestResult
Inherited Members

Properties

Elapsed

Gets how long the test took.

Message

Gets what happened, for the person reading it.

Succeeded

Gets a value indicating whether the source was reached.

Methods

Failure(string, TimeSpan)

A failed test.

Success(string, TimeSpan)

A successful test.

ToString()

Returns the outcome and the message.