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
- strSite
Type: System..::.String
The name of the site to count applications.
- iType
Type: System..::.Int32
The type of applications to count.
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
- 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