IFsrmExportImport Interface

 

Used to export and import FSRM objects.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

[GuidAttribute("EFCB0AB1-16C4-4A79-812C-725614C3306B")]
public interface IFsrmExportImport
[GuidAttribute("EFCB0AB1-16C4-4A79-812C-725614C3306B")]
public interface class IFsrmExportImport
[<GuidAttribute("EFCB0AB1-16C4-4A79-812C-725614C3306B")>]
type IFsrmExportImport = interface end
<GuidAttribute("EFCB0AB1-16C4-4A79-812C-725614C3306B")>
Public Interface IFsrmExportImport

Methods

Name Description
System_CAPS_pubmethod ExportFileGroups(String, Object, String)

Exports one or more file groups to the specified file.

System_CAPS_pubmethod ExportFileScreenTemplates(String, Object, String)

Exports one or more file screen templates to the specified file.

System_CAPS_pubmethod ExportQuotaTemplates(String, Object, String)

Exports one or more quota templates to the specified file.

System_CAPS_pubmethod ImportFileGroups(String, Object, String)

Imports one or more file groups from the specified file.

System_CAPS_pubmethod ImportFileScreenTemplates(String, Object, String)

Imports one or more file screen templates from the specified file.

System_CAPS_pubmethod ImportQuotaTemplates(String, Object, String)

Imports one or more quota templates from the specified file.

Remarks

Warning

This interface supports local use only. Remote operations are not supported.

To get this interface, call the CoCreateInstanceEx function. Use CLSID_FsrmExportImport as the class identifier and __uuidof(IFsrmExportImport) as the interface identifier. You must use the CLSCTX_INPROC_SERVER class context to create the object.

Typically, these methods are used to move objects from one computer to another. These methods differ from the import and export methods on the objects (for example, ExportFileGroups) in that they write to and read from a file whereas the object methods write to and read from a string.

The file that the export methods create is written in the context of the user.

To create this object from a script, use the Fsrm.FsrmExportImport program identifier.

See Also

Microsoft.Storage Namespace

Return to top