Partager via


ManagementClassDescription.ShouldSerializeClassName Method

Determines whether the ClassName property should be serialized. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As ManagementClassDescription
Dim returnValue As Boolean

returnValue = instance.ShouldSerializeClassName

Syntax

'Declaration
<BrowsableAttribute(False)> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Function ShouldSerializeClassName As Boolean
[BrowsableAttribute(false)] 
[EditorBrowsableAttribute(EditorBrowsableState.Never)] 
public bool ShouldSerializeClassName ()
[BrowsableAttribute(false)] 
[EditorBrowsableAttribute(EditorBrowsableState::Never)] 
public:
bool ShouldSerializeClassName ()
/** @attribute BrowsableAttribute(false) */ 
/** @attribute EditorBrowsableAttribute(EditorBrowsableState.Never) */ 
public boolean ShouldSerializeClassName ()
BrowsableAttribute(false) 
EditorBrowsableAttribute(EditorBrowsableState.Never) 
public function ShouldSerializeClassName () : boolean

Return Value

true if the property should be serialized; otherwise false.

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

ManagementClassDescription Class
ManagementClassDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace
ClassName