GlobalConfig2.GetRefSites (PIA)

Use this method to retrieve a list of all the site names that reference the given resource from the Administration database.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Configuration
Imports ADODB26Lib    ‘ for _Recordset
…
Public Function GetRefSites(strDisplayName As String,
) As _Recordset

[C#]

using Microsoft.CommerceServer.Interop.Configuration;
using ADODB26Lib;                                   //For _Recordset
…
public _Recordset GetRefSites(stringstrDisplayName,
);

Parameters

[Visual Basic .NET]

  • strDisplayName
    A String that contains the display name of the global resource.

[C#]

  • strDisplayName
    A string that contains the display name of the global resource.

Return Values

[Visual Basic .NET] If this method completes successfully, it returns a Recordset object. Each field in the recordset includes the name of one of the sites that references the given resource.

[C#] This method returns a Recordset object. Each field in the recordset includes the name of one of the sites that references the given resource.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

The Initialize method must be called before this method can be called.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Configuration

Platforms: Windows 2000, Windows Server 2003

Assembly: CS_MSCSCfg (in cs_mscscfg.dll)

See Also

GlobalConfig2 Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.