Gets the site system server type. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim queryProcess As QueryProcessorBase
Dim siteCode As String
Dim path As String
Dim returnValue As String

returnValue = ResultObjectHelpers.GetSiteSystemServerType(queryProcess, siteCode, path)

Syntax

Visual Basic
Public Shared Function GetSiteSystemServerType ( _
		queryProcess As QueryProcessorBase, _
		siteCode As String, _
		path As String _
) As String
C#
public static string GetSiteSystemServerType (
		QueryProcessorBase queryProcess,
		string siteCode,
		string path
)
C++
public:
static String^ GetSiteSystemServerType (
		QueryProcessorBase^ queryProcess, 
		String^ siteCode, 
		String^ path
)
J#
public static String GetSiteSystemServerType (
		QueryProcessorBase queryProcess, 
		String siteCode, 
		String path
)
JScript
public static function GetSiteSystemServerType (
		queryProcess : QueryProcessorBase, 
		siteCode : String, 
		path : String
) : String

Parameters

queryProcess

[in] QueryProcessorBase object.

siteCode

[in] Site code for the site.

path

[in] Path for the server.

Return Value

Site system server type string.

Remarks

Exception type

Condition

ArgumentNullException

The queryProcess parameter cannot be null.

ArgumentException

The siteCode parameter cannot be null or an empty string.

ArgumentOutOfRangeException

The server type was not found.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also