Determines whether the specified object is an instance of a site control class. Namespace: Microsoft.ConfigurationManagement.AdminConsole.Common
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim thisResultObject As IResultObject
Dim returnValue As Boolean

returnValue = UtilityClass.IsSiteControlClass(thisResultObject)

Syntax

Visual Basic
Public Shared Function IsSiteControlClass ( _
		thisResultObject As IResultObject _
) As Boolean
C#
public static bool IsSiteControlClass (
		IResultObject thisResultObject
)
C++
public:
static bool IsSiteControlClass (
		IResultObject^ thisResultObject
)
J#
public static boolean IsSiteControlClass (
		IResultObject thisResultObject
)
JScript
public static function IsSiteControlClass (
		thisResultObject : IResultObject
) : boolean

Parameters

thisResultObject

[in] IResultObject interface for a result object.

Return Value

true if the specified object is an instance of a site control class; otherwise false.

Exceptions

Exception type Condition
ArgumentNullException

The thisResultObject parameter cannot be null.

Remarks

For information about site control classes, see Configuration Manager Site Configuration Server WMI Classes.


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