log4net SDK Reference |

# IRepositorySelector.GetRepository Method (String)

Gets the named ILoggerRepository.

[Visual Basic]
Function GetRepository( _
ByVal repositoryName As String _
) As ILoggerRepository
[C#]
ILoggerRepository GetRepository(
string repositoryName
);

#### Parameters

repositoryName
  The name to use to lookup to the ILoggerRepository.

#### Return Value

The named ILoggerRepository

#### Remarks

Lookup a named ILoggerRepository. This is the repository created by calling CreateRepository.

#### See Also

IRepositorySelector Interface | log4net.Core Namespace | IRepositorySelector.GetRepository Overload List