Class VssWMRestoreMethod
Represents information about how a writer wants its data to be restored.
Inherited Members
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
[Serializable]
public class VssWMRestoreMethod
Remarks
This class is a container for the data returned by RestoreMethod.
Constructors
| Improve this Doc View SourceVssWMRestoreMethod(VssRestoreMethod, String, String, VssWriterRestore, Boolean, Int32)
Initializes a new instance of the VssWMRestoreMethod class.
Declaration
public VssWMRestoreMethod(VssRestoreMethod restoreMethod, string service, string userProcedure, VssWriterRestore writerRestore, bool rebootRequired, int mappings)
Parameters
Type | Name | Description |
---|---|---|
VssRestoreMethod | restoreMethod | The restore method. |
String | service | The service. |
String | userProcedure | The user procedure. |
VssWriterRestore | writerRestore | The writer restore. |
Boolean | rebootRequired | if set to |
Int32 | mappings | The mappings. |
Remarks
This constructor is normally not used by application code. Rather instances of VssWMRestoreMethod are returned by various query methods.
Properties
| Improve this Doc View SourceMappingCount
The number of alternate mappings associated with the writer.
Declaration
public int MappingCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Method
A VssRestoreMethod value that specifies file overwriting, the use of alternate locations specifying the method that will be used in the restore operation.
Declaration
public VssRestoreMethod Method { get; }
Property Value
Type | Description |
---|---|
VssRestoreMethod |
RebootRequired
A langword_csharp_bool indicating whether a reboot will be required after the restore operation is complete.
Declaration
public bool RebootRequired { get; }
Property Value
Type | Description |
---|---|
Boolean | true if a reboot will be required and false if it will not. |
Service
If the value of Method is StopRestoreStart, a pointer to a string containing the name of the service that is started and stopped. Otherwise, the value is null.
Declaration
public string Service { get; }
Property Value
Type | Description |
---|---|
String |
UserProcedure
Pointer to the URL of an HTML or XML document describing to the user how the restore is to be performed. The value may be null.
Declaration
public string UserProcedure { get; }
Property Value
Type | Description |
---|---|
String |
WriterRestore
A VssWriterRestore value specifying whether the writer will be involved in restoring its data.
Declaration
public VssWriterRestore WriterRestore { get; }
Property Value
Type | Description |
---|---|
VssWriterRestore |