Determines whether the PropertyNames2 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

Visual Basic
Dim instance As ManagementClassPropertyDescription
Dim returnValue As Boolean

returnValue = instance.ShouldSerializePropertyNames2

Syntax

Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<BrowsableAttribute(False)> _
Public Function ShouldSerializePropertyNames2 As Boolean
C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)] 
[BrowsableAttribute(false)] 
public bool ShouldSerializePropertyNames2 ()
C++
[EditorBrowsableAttribute(EditorBrowsableState::Never)] 
[BrowsableAttribute(false)] 
public:
bool ShouldSerializePropertyNames2 ()
J#
/** @attribute EditorBrowsableAttribute(EditorBrowsableState.Never) */ 
/** @attribute BrowsableAttribute(false) */ 
public boolean ShouldSerializePropertyNames2 ()
JScript
EditorBrowsableAttribute(EditorBrowsableState.Never) 
BrowsableAttribute(false) 
public function ShouldSerializePropertyNames2 () : 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