IFsrmExportImport.ExportQuotaTemplates Method (String, Object, String)
Exports one or more quota templates to the specified file.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
void ExportQuotaTemplates(
string filePath,
[InAttribute] ref object templateNamesSafeArray = "",
string remoteHost = ""
)
void ExportQuotaTemplates(
String^ filePath,
[InAttribute] Object^% templateNamesSafeArray = "",
String^ remoteHost = ""
)
abstract ExportQuotaTemplates :
filePath:string *
templateNamesSafeArray:Object byref = "" *
remoteHost:string = "" -> unit
Sub ExportQuotaTemplates (
filePath As String,
<InAttribute> ByRef templateNamesSafeArray As Object,
remoteHost As String
)
Parameters
filePath
Type: System.StringThe full path to the export file that will contain the quota templates in XML format. The string is limited to 260 characters.
templateNamesSafeArray
Type: System.ObjectA variant that contains the names of the quota templates to export. Set the variant to empty or NULL to export all templates.Set the variant type to both VT_ARRAY and VT_VARIANT and the parray member to the SAFEARRAY of BSTRs.
remoteHost
Type: System.StringThe name of the remote server. To specify the local server, set to an empty string.
Remarks
The quota template name is specified when you call the CreateTemplate method. To enumerate the templates, call the EnumTemplates method.
You can also use the ExportTemplates method to export the templates.
See Also
FsrmExportImport
IFsrmExportImport Interface
Microsoft.Storage Namespace
Return to top