Share via


IFsrmExportImport.ImportFileScreenTemplates Method (String, Object, String)

 

Imports one or more file screen templates from the specified file.

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

Syntax

IFsrmCommittableCollection ImportFileScreenTemplates(
    string filePath,
    [InAttribute] ref object templateNamesSafeArray = "",
    string remoteHost = ""
)
IFsrmCommittableCollection^ ImportFileScreenTemplates(
    String^ filePath,
    [InAttribute] Object^% templateNamesSafeArray = "",
    String^ remoteHost = ""
)
abstract ImportFileScreenTemplates : 
        filePath:string *
        templateNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> IFsrmCommittableCollection
Function ImportFileScreenTemplates (
    filePath As String,
    <InAttribute> ByRef templateNamesSafeArray As Object,
    remoteHost As String
) As IFsrmCommittableCollection

Parameters

  • filePath
    Type: System.String

    The full path to the file from which to import the file screen templates. The string is limited to 260 characters.

  • templateNamesSafeArray
    Type: System.Object

    A variant that contains the names of the file screen templates to import. Set the variant to empty or NULL to import 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.

Return Value

Type: Microsoft.Storage.IFsrmCommittableCollection

A IFsrmCommittableCollection containing a collection of IFsrmFileScreenTemplateImported interfaces. To complete the import, you must call the Commit method.

Remarks

You can also use the ImportTemplates method to import the templates.

See Also

FsrmExportImport
IFsrmExportImport Interface
Microsoft.Storage Namespace

Return to top