다음을 통해 공유


IFsrmQuotaTemplateManager.ExportTemplates Method (Object)

 

Exports the quota templates as an XML string.

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

Syntax

string ExportTemplates(
    [InAttribute] ref object quotaTemplateNamesArray = ""
)
String^ ExportTemplates(
    [InAttribute] Object^% quotaTemplateNamesArray = ""
)
abstract ExportTemplates : 
        quotaTemplateNamesArray:Object byref = "" -> string
Function ExportTemplates (
    <InAttribute> ByRef quotaTemplateNamesArray As Object
) As String

Parameters

  • quotaTemplateNamesArray
    Type: System.Object

    A variant that contains the names of the quota templates to export. If NULL, the method exports all quotas.

Return Value

Type: System.String

A String The specified templates in XML format.

Remarks

Typically, you use this method to save the templates to a file. You can then copy the file to another computer and call the ImportTemplates method to import the templates.

See Also

FsrmQuotaTemplateManager
IFsrmQuotaTemplateManager Interface
Microsoft.Storage Namespace

Return to top