DefaultRepositorySelector ExistsRepository Method Apache log4net™ SDK Documentation
Test if a named repository exists

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public bool ExistsRepository(
	string repositoryName
)

Parameters

repositoryName
Type: OnlineSystem String
the named repository to check

Return Value

Type: OnlineBoolean
true if the repository exists

Implements

IRepositorySelector ExistsRepository(String)
Remarks

Test if a named repository exists. Use [M:CreateRepository(string, Type)] to create a new repository and [M:GetRepository(string)] to retrieve a repository.

See Also