Udostępnij za pośrednictwem


QueryDescription.ReturnedClassType Property

Gets or sets the class type that is retrieved by the query.

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

Usage

'Usage
Dim instance As QueryDescription
Dim value As String

value = instance.ReturnedClassType

instance.ReturnedClassType = value

Syntax

'Declaration
<XmlElementAttribute("ReturnedClassType")> _
Public Property ReturnedClassType As String
[XmlElementAttribute("ReturnedClassType")] 
public string ReturnedClassType { get; set; }
[XmlElementAttribute(L"ReturnedClassType")] 
public:
property String^ ReturnedClassType {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public String get_ReturnedClassType ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_ReturnedClassType (String value)
DebuggerStepThroughAttribute 
public function get ReturnedClassType () : String

DebuggerStepThroughAttribute 
public function set ReturnedClassType (value : String)

Property Value

Class type string.

Remarks

If your application does not set this property, the framework detects the class by using a property that is included in the object in scope. Use of this default behavior can be useful when the same base class is retrieved using different derived class types.

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

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