Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

DefaultRepositorySelector.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

DefaultRepositorySelector Class | log4net.Core Namespace