Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- bstrResourceName
Type: System..::.String
The display name of the global resource.
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
- 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