Method | Description | |
---|---|---|
IsServerOnline ( this documentStore, int timeoutMilliseconds = 5000 ) : bool |
Checks to see if the RavenDB Server associated with the document store is accessible.
|
|
TryGetServerVersion ( this documentStore, Raven.Abstractions.Data.BuildNumber &buildNumber, int timeoutMilliseconds = 5000 ) : bool |
Tries to get the version information from the RavenDB server associated with the document store.
|
public static IsServerOnline ( this documentStore, int timeoutMilliseconds = 5000 ) : bool | ||
documentStore | this | The document store. |
timeoutMilliseconds | int | Timeout in milliseconds. Defaults to 5 seconds. |
return | bool |
public static TryGetServerVersion ( this documentStore, Raven.Abstractions.Data.BuildNumber &buildNumber, int timeoutMilliseconds = 5000 ) : bool | ||
documentStore | this | The document store. |
buildNumber | Raven.Abstractions.Data.BuildNumber | If the server is reachable, this will output the data containing the product version and build number. |
timeoutMilliseconds | int | Timeout in milliseconds. Defaults to 5 seconds. |
return | bool |