แก้ไข

แชร์ผ่าน


EnumerationOptions.EnsureLocatable Property

Definition

Gets or sets a value indicating whether to the objects returned should have locatable information in them. This ensures that the system properties, such as __PATH, __RELPATH, and __SERVER, are non-NULL. This flag can only be used in queries, and is ignored in enumerations.

public:
 property bool EnsureLocatable { bool get(); void set(bool value); };
public bool EnsureLocatable { get; set; }
member this.EnsureLocatable : bool with get, set
Public Property EnsureLocatable As Boolean

Property Value

true if the objects returned should have locatable information in them; otherwise, false.

Remarks

Property Value

true if WMI should ensure all returned objects have valid paths; otherwise, false. The default value is false.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to