Saves the specified value as a default for the XML template. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim name As String
Dim val As String
Dim returnValue As Boolean

returnValue = Me.SaveAsDefaultValue(name, val)

Syntax

Visual Basic
Protected Function SaveAsDefaultValue ( _
		name As String, _
		val As String _
) As Boolean
C#
protected bool SaveAsDefaultValue (
		string name,
		string val
)
C++
protected:
bool SaveAsDefaultValue (
		String^ name, 
		String^ val
)
J#
protected boolean SaveAsDefaultValue (
		String name, 
		String val
)
JScript
protected function SaveAsDefaultValue (
		name : String, 
		val : String
) : boolean

Parameters

name

[in] Name of the item that is associated with the value.

val

[in] Value to save as the default.

Return Value

true if the value is saved as a default for the XML template; 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