Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IRepositorySelector.ExistsRepository�Method�

Test if a named repository exists

[Visual�Basic]
Function�ExistsRepository( _
���ByVal repositoryName�As�String�_
)�As�Boolean
[C#]
bool�ExistsRepository(
���stringrepositoryName
);

Parameters

repositoryName
the named repository to check

Return Value

true if the repository exists

Remarks

Test if a named repository exists. Use CreateRepository to create a new repository and GetRepository to retrieve a repository.

See Also

IRepositorySelector Interface | log4net.Core Namespace