共用方式為


FsrmExportImportClass.ExportQuotaTemplates Method (String, Object, String)

 

Exports one or more quota templates to the specified file.

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

Syntax

public virtual void ExportQuotaTemplates(
    string filePath,
    [InAttribute] ref object templateNamesSafeArray = "",
    string remoteHost = ""
)
public:
virtual void ExportQuotaTemplates(
    String^ filePath,
    [InAttribute] Object^% templateNamesSafeArray = "",
    String^ remoteHost = ""
)
abstract ExportQuotaTemplates : 
        filePath:string *
        templateNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> unit
override ExportQuotaTemplates : 
        filePath:string *
        templateNamesSafeArray:Object byref = "" *
        remoteHost:string = "" -> unit
Public Overridable Sub ExportQuotaTemplates (
    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 quota templates in XML format. The string is limited to 260 characters.

  • templateNamesSafeArray
    Type: System.Object

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

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

Implements

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

Return to top