Share via


FsrmExportImportClass.ImportFileGroups Method (String, Object, String)

 

Imports one or more file groups from the specified file.

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

Syntax

public virtual IFsrmCommittableCollection ImportFileGroups(
    string filePath,
    [InAttribute] ref object fileGroupNamesSafeArray = "",
    string remoteHost = ""
)
public:
virtual IFsrmCommittableCollection^ ImportFileGroups(
    String^ filePath,
    [InAttribute] Object^% fileGroupNamesSafeArray = "",
    String^ remoteHost = ""
)
abstract ImportFileGroups : 
        filePath:string *
        fileGroupNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> IFsrmCommittableCollection
override ImportFileGroups : 
        filePath:string *
        fileGroupNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> IFsrmCommittableCollection
Public Overridable Function ImportFileGroups (
    filePath As String,
    <InAttribute> ByRef fileGroupNamesSafeArray As Object,
    remoteHost As String
) As IFsrmCommittableCollection

Parameters

  • filePath
    Type: System.String

    The full path to the file from which to import the file groups. The string is limited to 260 characters.

  • fileGroupNamesSafeArray
    Type: System.Object

    A variant that contains the names of the file groups to import. Set the variant to empty or NULL to import all file groups.Set the variant type to both VT_ARRAY and VT_VARIANT and the parray member to the SAFEARRAY of BSTRs.

  • remoteHost
    Type: System.String

    The name of the remote server. To specify the local server, set to an empty string.

Return Value

Type: Microsoft.Storage.IFsrmCommittableCollection

Returns a IFsrmCommittableCollection containing an that contains a collection of IFsrmFileGroupImported interfaces. To complete the import, you must call the Commit method.

Implements

IFsrmExportImport.ImportFileGroups(String, Object, String)

See Also

FsrmExportImportClass Class
Microsoft.Storage Namespace

Return to top