GetRefSites Method

Retrieve a collection of all the site names that reference the given resource from the Administration database.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Function GetRefSites ( _
    bstrResourceName As String _
) As _Recordset
'Usage
Dim instance As IGlobalConfig2
Dim bstrResourceName As String
Dim returnValue As _Recordset

returnValue = instance.GetRefSites(bstrResourceName)
_Recordset GetRefSites(
    string bstrResourceName
)
_Recordset^ GetRefSites(
    String^ bstrResourceName
)
function GetRefSites(
    bstrResourceName : String
) : _Recordset

Parameters

Return Value

Type: _Recordset
A Recordset object. Each Field object in the recordset includes the name of one of the sites that references the given resource.

Remarks

Implemented by GlobalConfig2FreeThreaded.GetRefSites (GetRefSites).

Each Field object in the recordset includes the RefResource of a resource in the Resources table in the Administration database.

Permissions

See Also

Reference

IGlobalConfig2 Interface

IGlobalConfig2 Members

Microsoft.CommerceServer.Interop.Configuration Namespace