共用方式為


FsrmQuotaTemplateManagerClass.ExportTemplates Method (Object)

 

Exports the quota templates as an XML string.

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

Syntax

public virtual string ExportTemplates(
    [InAttribute] ref object quotaTemplateNamesArray = ""
)
public:
virtual String^ ExportTemplates(
    [InAttribute] Object^% quotaTemplateNamesArray = ""
)
abstract ExportTemplates : 
        quotaTemplateNamesArray:Object byref = "" -> string
override ExportTemplates : 
        quotaTemplateNamesArray:Object byref = "" -> string
Public Overridable 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

Returns a String containing the specified templates in XML format.

Implements

IFsrmQuotaTemplateManager.ExportTemplates(Object)

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

IFsrmQuotaTemplateManager
FsrmQuotaTemplateManager
FsrmQuotaTemplateManagerClass Class
Microsoft.Storage Namespace

Return to top