GetGlobalResourcesOfType Method
Retrieve a list of all the names of the resources, of a specified resource type, from the Resources table in the Administration database.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)
Syntax
'Declaration
Function GetGlobalResourcesOfType ( _
bstrResourceType As String _
) As _Recordset
'Usage
Dim instance As IGlobalConfig2
Dim bstrResourceType As String
Dim returnValue As _Recordset
returnValue = instance.GetGlobalResourcesOfType(bstrResourceType)
_Recordset GetGlobalResourcesOfType(
string bstrResourceType
)
_Recordset^ GetGlobalResourcesOfType(
String^ bstrResourceType
)
function GetGlobalResourcesOfType(
bstrResourceType : String
) : _Recordset
Parameters
- bstrResourceType
Type: System..::.String
The Resource type to filter upon.
Return Value
Type: _Recordset
A collection of resources assigned to the site, from the Resources table, filtered by bstrResourceType.
Remarks
Implemented by GlobalConfig2FreeThreaded.GetGlobalResourcesOfType (GetGlobalResourcesOfType).
Each Field object in the recordset includes the Displayname of a resource in the Resources table in the Administration database.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.