Export (0) Print
Expand All

ManagementPath Members

Provides a wrapper for parsing and building paths to WMI objects.

The following tables list the members exposed by the ManagementPath type.

  Name Description
Public method ManagementPath Overloaded.  
Top

  Name Description
Public property ClassName Gets or sets the class portion of the path.
Public property Static DefaultPath Gets or sets the default scope path used when no scope is specified. The default scope is \\.\root\cimv2, and can be changed by setting this property.
Public property IsClass Gets or sets a value indicating whether this is a class path.
Public property IsInstance Gets or sets a value indicating whether this is an instance path.
Public property IsSingleton Gets or sets a value indicating whether this is a singleton instance path.
Public property NamespacePath Gets or sets the namespace part of the path. Note that this does not include the server name, which can be retrieved separately.
Public property Path Gets or sets the string representation of the full path in the object.
Public property RelativePath Gets or sets the relative path: class name and keys only.
Public property Server Gets or sets the server part of the path.
Top

(see also Protected Methods )
  Name Description
Public method Clone Returns a copy of the ManagementPath.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetAsClass Sets the path as a new class path. This means that the path must have a class name but not key values.
Public method SetAsSingleton Sets the path as a new singleton object path. This means that it is a path to an instance but there are no key values.
Public method ToString Overridden. Returns the full object path as the string representation.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft