VSS_OBJECT_PROP struttura (vss.h)

La struttura VSS_OBJECT_PROP definisce le proprietà di un provider, un volume, una copia shadow o un set di copia shadow.

Sintassi

typedef struct _VSS_OBJECT_PROP {
  VSS_OBJECT_TYPE  Type;
  VSS_OBJECT_UNION Obj;
} VSS_OBJECT_PROP, *PVSS_OBJECT_PROP;

Members

Type

Tipo di oggetto. Fare riferimento a VSS_OBJECT_TYPE.

Obj

Proprietà dell'oggetto: unione di strutture VSS_SNAPSHOT_PROP e VSS_PROVIDER_PROP . Vedere VSS_OBJECT_UNION.)

Contiene informazioni per un oggetto del tipo specificato dal membro Type della struttura VSS_OBJECT_PROP . Gli oggetti possono essere provider, volumi, copie shadow o set di copia shadow.

Commenti

Un richiedente ottiene strutture VSS_OBJECT_PROP usando IVssEnumObject::Next per scorrere l'elenco di oggetti restituiti da una chiamata a IVssBackupComponents::Query.

Poiché i membri vengono riempiti da un'interfaccia COM, prima di eliminare le strutture delle proprietà VSS_SNAPSHOT_PROP e VSS_PROVIDER_PROP, la memoria che contengono deve essere rilasciata chiamando CoTaskMemFree per ogni valore stringa e matrice di byte contenuto in ogni struttura.

Nel caso di VSS_SNAPSHOT_PROP, questa operazione può essere eseguita manualmente o la funzione di utilità VssFreeSnapshotProperties può essere usata.

Requisiti

   
Client minimo supportato Windows XP [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Intestazione vss.h

Vedi anche

VSS_OBJECT_TYPE

VSS_OBJECT_UNION

VSS_PROVIDER_PROP

VSS_SNAPSHOT_PROP