Determines whether the specified name indicates a site control class. Namespace: Microsoft.ConfigurationManagement.AdminConsole.Common
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim className As String
Dim returnValue As Boolean

returnValue = UtilityClass.IsSiteControlClass(className)

Syntax

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

Parameters

className

[in] Name of a class.

Return Value

true if the specified class is a site control class; otherwise false.

Exceptions

Exception type Condition
ArgumentNullException

The className 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