SiteConfigReadOnly.GetAppsInSite Method (PIA)
Use this method to get a list of Commerce Server 2002 applications for the specified site.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Configuration
…
Public Function GetAppsInSite(ByRefstrSiteName As String) As Object
[C#]
using Microsoft.CommerceServer.Interop.Configuration;
…
object GetAppsInSite(ref stringstrSiteName);
Parameters
[Visual Basic .NET]
- strSiteName
A String that contains the name of the site for which you want the list of running Commerce Server 2002 applications.
[C#]
- strSiteName
A string that contains the name of the site for which you want the list of Commerce Server 2002 applications that are currently running.
Return Values
[Visual Basic .NET] If this method completes successfully, it returns an Object that contains the list of Commerce Server 2002 applications.
[C#] This method returns an object containing the list of Commerce Server 2002 applications.
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 used.
[Visual Basic .NET]
Example
' sMySiteName is a String
' oObject is an Object
' oSiteConfigReadOnly is a Commerce SiteConfigReadOnly object
oObject = oSiteConfigReadOnly.GetAppsInSite(sMySiteName)
Requirements
Namespace: Microsoft.CommerceServer.Interop.Configuration
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_mscscfg (cs_mscscfg)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.