FsrmFileGroupManagerClass.ImportFileGroups Method (String, Object)

 

Imports the specified file groups from an XML string.

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

Syntax

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

Parameters

  • serializedFileGroups
    Type: System.String

    An XML string that represents one or more file groups.

  • fileGroupNamesArray
    Type: System.Object

    A VARIANT that contains a SAFEARRAY of the names of the file groups to import. If NULL, the method imports all file groups.

Return Value

Type: Microsoft.Storage.IFsrmCommittableCollection

Returns a IFsrmCommittableCollection containing a collection of file groups.

Each item of the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member of the variant for the IFsrmFileGroupImportedinterface.

To add the file groups to FSRM, call the Commit method.

Implements

IFsrmFileGroupManager.ImportFileGroups(String, Object)

See Also

IFsrmFileGroupManager
FsrmFileGroupManager
FsrmFileGroupManagerClass Class
Microsoft.Storage Namespace

Return to top