GetRefSites Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

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

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

Implements

IGlobalConfig2..::.GetRefSites(String)

Remarks

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

GlobalConfig2FreeThreaded Class

GlobalConfig2FreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace