Share via


Repository.GetResource Method

Retrieves a resource from the repository.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function GetResource ( _
    key As String _
) As Object
'Usage
Dim instance As Repository
Dim key As String
Dim returnValue As Object

returnValue = instance.GetResource(key)
Object GetResource(
    string key
)

Parameters

Return Value

Type: System.Object
The resource.

Exceptions

Exception Condition
Exception

If no resource with the given identifier is found.

See Also

Reference

Repository Interface

Repository Members

Microsoft.SharePoint.Search.Extended.Administration Namespace