IFsrmExportImport.ExportFileScreenTemplates Method (String, Object, String)
Exports one or more file screen templates to the specified file.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
void ExportFileScreenTemplates(
string filePath,
[InAttribute] ref object templateNamesSafeArray = "",
string remoteHost = ""
)
void ExportFileScreenTemplates(
String^ filePath,
[InAttribute] Object^% templateNamesSafeArray = "",
String^ remoteHost = ""
)
abstract ExportFileScreenTemplates :
filePath:string *
templateNamesSafeArray:Object byref = "" *
remoteHost:string = "" -> unit
Sub ExportFileScreenTemplates (
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 file screen templates in XML format. The string is limited to 260 characters.
templateNamesSafeArray
Type: System.ObjectA variant that contains the names of the file screen 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 file screen 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