Jaa


GetServers Method

Returns the number of web servers in a given application in a given site.

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

Syntax

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

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

Parameters

Return Value

Type: System..::.Int32
A value indicating the number of web servers in a given application in a given site.

Remarks

Returns a value indicating the number of web servers in a given application in a given site.

Permissions

See Also

Reference

GlobalConfig2FreeThreaded Class

GlobalConfig2FreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace