다음을 통해 공유


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

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

See Also

Reference

IGlobalConfig2 Interface

IGlobalConfig2 Members

Microsoft.CommerceServer.Interop.Configuration Namespace