FRAMES | NO FRAMES
GetUniqueFileName Method

Gets a unique zip-file name URL.

Availability: Business Analyst Server.

string GetUniqueFileName ( 
    string  FileName       
); 

Parameter Description
FileName Type String. This parameter is deprecated.

Returns

Variable of type String containing a unique URL to a zip-file. The returned URL has the following syntax:

http://{Business Analyst Server host name}/arcgisoutput/_ags_T{GUID}.zip

Examples

The example below requests a unique filename.

C#
// Instantiate the BAServerHelper class to access analysis methods
BAServerHelper baServerHelper = new BAServerHelper();
 
string filename = baServerHelper.GetUniqueFileName();
// This method returns a unique URL to a temporary file at the ArcGIS Server
// output directory. The file URL is returned with the ".zip" extension.

See Also