Share via


IResourceProvider.GetResource Method

Retrieves the resource of the specified resource provider.

Namespace:  Microsoft.SqlServer.Management
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
Function GetResource ( _
    resourceManager As String, _
    resourceID As String _
) As Object
'Usage
Dim instance As IResourceProvider
Dim resourceManager As String
Dim resourceID As String
Dim returnValue As Object

returnValue = instance.GetResource(resourceManager, _
    resourceID)
Object GetResource(
    string resourceManager,
    string resourceID
)
Object^ GetResource(
    String^ resourceManager, 
    String^ resourceID
)
abstract GetResource : 
        resourceManager:string * 
        resourceID:string -> Object 
function GetResource(
    resourceManager : String, 
    resourceID : String
) : Object

Parameters

  • resourceManager
    Type: System.String
    A key that identify a particular resource.
  • resourceID
    Type: System.String
    An ID that identify a localized value for the resource.

Return Value

Type: System.Object
An object that contains the resource value for the resourceManager and resourceID.