Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- strSite
Type: System..::.String
The name of the site to count servers.
- strApp
Type: System..::.String
The application name to filter upon.
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
- 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