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
key
Type: System.StringA unique identifier for the resource.
Return Value
Type: System.Object
The resource.
Exceptions
Exception | Condition |
---|---|
Exception | If no resource with the given identifier is found. |
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration Namespace