Partilhar via


SearchFolderDescription.NewSearchFolderDescription Method

Retrieves a new SearchFolderDescription object by using the specified XML.

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

Usage

'Usage
Dim xml As String
Dim returnValue As SearchFolderDescription

returnValue = SearchFolderDescription.NewSearchFolderDescription(xml)

Syntax

'Declaration
Public Shared Function NewSearchFolderDescription ( _
    xml As String _
) As SearchFolderDescription
public static SearchFolderDescription NewSearchFolderDescription (
    string xml
)
public:
static SearchFolderDescription^ NewSearchFolderDescription (
    String^ xml
)
public static SearchFolderDescription NewSearchFolderDescription (
    String xml
)
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

Reference

SearchFolderDescription Class
SearchFolderDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace