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

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public bool ExistsRepository(
	string repositoryName
)

Parameters

repositoryName
Type: SystemString
the named repository to check

Return Value

Type: Boolean
true if the repository exists

Implements

IRepositorySelectorExistsRepository(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

Reference