ResultObjectHelpers.GetSiteSystemServerType Method
Gets the site system server type.
Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim queryProcess As QueryProcessorBase
Dim siteCode As String
Dim path As String
Dim returnValue As String
returnValue = ResultObjectHelpers.GetSiteSystemServerType(queryProcess, siteCode, path)
Syntax
'Declaration
Public Shared Function GetSiteSystemServerType ( _
queryProcess As QueryProcessorBase, _
siteCode As String, _
path As String _
) As String
public static string GetSiteSystemServerType (
QueryProcessorBase queryProcess,
string siteCode,
string path
)
public:
static String^ GetSiteSystemServerType (
QueryProcessorBase^ queryProcess,
String^ siteCode,
String^ path
)
public static String GetSiteSystemServerType (
QueryProcessorBase queryProcess,
String siteCode,
String path
)
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 |
---|---|
The queryProcess parameter cannot be null. |
|
The siteCode parameter cannot be null or an empty string. |
|
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
Reference
ResultObjectHelpers Class
ResultObjectHelpers Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
QueryProcessorBase