Win32_ShadowVolumeSupport class

Expand
This topic has not yet been rated - Rate this topic

Win32_ShadowVolumeSupport class

Applies to: desktop apps only

The Win32_ShadowVolumeSupport class associates a shadow copy provider with a supported volume.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class Win32_ShadowVolumeSupport : CIM_Dependency
{
  Win32_ShadowProvider REF Antecedent;
  Win32_Volume         REF Dependent;
};

Members

The Win32_ShadowVolumeSupport class has these types of members:

Properties

The Win32_ShadowVolumeSupport class has these properties.

Antecedent
Data type: Win32_ShadowProvider
Access type: Read-only
Qualifiers: Key, Max (1) , Min (1)

Reference to a shadow copy provider.

Dependent
Data type: Win32_Volume
Access type: Read-only
Qualifiers: Key, Max (1) , Min (1)

Reference to a volume supported by a provider.

Remarks

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

Vss.mof

DLL

Vsswmi.dll

See also

Win32_ShadowProvider
Win32_ShadowCopy
Win32_ShadowContext
Win32_ShadowStorage
Win32_ShadowBy
Win32_ShadowFor
Win32_ShadowOn
Win32_ShadowDiffVolumeSupport

 

 

Send comments about this topic to Microsoft

Build date: 3/9/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD
ASSOCIATOR OF queries of Win32_ShadowVolumeSupport do not return VSS HW Provider associations.
ASSOCIATOR OF queries of Win32_ShadowVolumeSupport do not return VSS HW Provider associations.

The WMI Win32_ShadowVolumeSupport says that it "class associates
a shadow copy provider with a supported volume", which would be
great if it did. It would provide associations between the
various HW and SW VSS providers, and the volumes that they
support.

Unfortunately, it only lists SW (aka "Shadow Copies for Shared
Folders") associations, but not VSS HW Provider Supported Volume
relations.

This is unfortunate, as there are many steps and assumptions to
be made to do this the hard way.
2/24/2011
Cannot construct an ASSOCIATOR OF RelatedObjectQuery() seeking a GUID value.
In a query, there is no way to escape the trailing '}' in a GUID
value such as 'Win32_ShadowProvider.ID="{B5946137-7B9F-4925-AF80-
51ABD60B20D5}"' so that the RelatedObjectQuery() constructor will
accept it as valid syntax. I've tried all possible escapes
sequences I could think of. The work-around is to set it manually
using the SourceObject property:

    RelatedObjectQuery ^rquery = gcnew RelatedObjectQuery("ASSOCIATORS OF {blah=blah} WHERE AssocClass = Win32_ShadowVolumeSupport");
    rquery->SourceObject = "Win32_ShadowProvider.ID=\"" + providerID + "\"";
2/24/2011