Retrieves a new SearchFolderDescription object by using the specified XML. Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim xml As String
Dim returnValue As SearchFolderDescription

returnValue = SearchFolderDescription.NewSearchFolderDescription(xml)

Syntax

Visual Basic
Public Shared Function NewSearchFolderDescription ( _
		xml As String _
) As SearchFolderDescription
C#
public static SearchFolderDescription NewSearchFolderDescription (
		string xml
)
C++
public:
static SearchFolderDescription^ NewSearchFolderDescription (
		String^ xml
)
J#
public static SearchFolderDescription NewSearchFolderDescription (
		String xml
)
JScript
public static function NewSearchFolderDescription (
		xml : String
) : SearchFolderDescription

Parameters

xml

[in] XML to use in retrieving the new object.

Return Value

SearchFolderDescription object.

Exceptions

Exception type Condition
InvalidOperationException

There was an error generating the class, because the XML was invalid.

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