共用方式為


FsrmExportImportClass.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

public virtual void ExportFileScreenTemplates(
    string filePath,
    [InAttribute] ref object templateNamesSafeArray = "",
    string remoteHost = ""
)
public:
virtual void ExportFileScreenTemplates(
    String^ filePath,
    [InAttribute] Object^% templateNamesSafeArray = "",
    String^ remoteHost = ""
)
abstract ExportFileScreenTemplates : 
        filePath:string *
        templateNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> unit
override ExportFileScreenTemplates : 
        filePath:string *
        templateNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> unit
Public Overridable Sub ExportFileScreenTemplates (
    filePath As String,
    <InAttribute> ByRef templateNamesSafeArray As Object,
    remoteHost As String
)

Parameters

  • filePath
    Type: System.String

    The 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.Object

    A 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.String

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

Implements

IFsrmExportImport.ExportFileScreenTemplates(String, Object, 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
FsrmExportImportClass Class
Microsoft.Storage Namespace

Return to top