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
- 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.
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
- 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.
See Also
Reference
GlobalConfig2FreeThreaded Class