다음을 통해 공유


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
Public Function GetGlobalResourcesOfType ( _
    bstrResourceType As String _
) As _Recordset
'Usage
Dim instance As GlobalConfig2FreeThreaded
Dim bstrResourceType As String
Dim returnValue As _Recordset

returnValue = instance.GetGlobalResourcesOfType(bstrResourceType)
public _Recordset GetGlobalResourcesOfType(
    string bstrResourceType
)
public:
virtual _Recordset^ GetGlobalResourcesOfType(
    String^ bstrResourceType
) sealed
public final 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.

Implements

IGlobalConfig2..::.GetGlobalResourcesOfType(String)

Remarks

Implements IGlobalConfig2.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

GlobalConfig2FreeThreaded Class

GlobalConfig2FreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace