Partilhar via


GetApps Method

Returns the number of applications in a given site, of a specified type.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Public Function GetApps ( _
    strSite As String, _
    iType As Integer _
) As Integer
'Usage
Dim instance As GlobalConfig2FreeThreaded
Dim strSite As String
Dim iType As Integer
Dim returnValue As Integer

returnValue = instance.GetApps(strSite, _
    iType)
public int GetApps(
    string strSite,
    int iType
)
public:
int GetApps(
    String^ strSite, 
    int iType
)
public function GetApps(
    strSite : String, 
    iType : int
) : int

Parameters

Return Value

Type: System..::.Int32
The number of applications in a site.

Remarks

iType is the type of applications to count.

  • 1 = Sites only

  • 2 = Bizdesks only

  • Anything else - Both Sites and Bizdesks

Permissions

See Also

Reference

GlobalConfig2FreeThreaded Class

GlobalConfig2FreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace