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