Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

CompactRepositorySelector.ExistsRepository�Method�

Test if a named repository exists

[Visual�Basic]
NotOverridable�Public�Function�ExistsRepository( _
���ByVal repositoryName�As�String�_
)�As�Boolean�_
����Implements�IRepositorySelector.ExistsRepository
[C#]
public�bool�ExistsRepository(
���stringrepositoryName
);

Parameters

repositoryName
the named repository to check

Return Value

true if the repository exists

Implements

IRepositorySelector.ExistsRepository

Remarks

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

See Also

CompactRepositorySelector Class | log4net.Core Namespace