IFsrmFileGroupManager.ImportFileGroups Method (String, Object)
Imports the specified file groups from an XML string.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
IFsrmCommittableCollection ImportFileGroups(
string serializedFileGroups,
[InAttribute] ref object fileGroupNamesArray = ""
)
IFsrmCommittableCollection^ ImportFileGroups(
String^ serializedFileGroups,
[InAttribute] Object^% fileGroupNamesArray = ""
)
abstract ImportFileGroups :
serializedFileGroups:string *
fileGroupNamesArray:Object byref = "" -> IFsrmCommittableCollection
Function ImportFileGroups (
serializedFileGroups As String,
<InAttribute> ByRef fileGroupNamesArray As Object
) As IFsrmCommittableCollection
Parameters
serializedFileGroups
Type: System.StringAn XML string that represents one or more file groups.
fileGroupNamesArray
Type: System.ObjectA 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
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 IFsrmFileGroupImported interface.
To add the file groups to FSRM, call the Commit method.
See Also
FsrmFileGroupManager
IFsrmFileGroupManager Interface
Microsoft.Storage Namespace
Return to top