ExternalConnection.Name
ExternalConnection.Name property
Specifies the name of the connection. Each connection must have a unique name.
public string Name { get; set; }
Examples
using System;
using Aspose.Cells;
using Aspose.Cells.ExternalConnections;
namespace AsposeCellsExamples
{
public class ExternalConnectionPropertyNameDemo
{
public static void Run()
{
Workbook workbook = new Workbook("example.xlsm");
foreach (ExternalConnection connection in workbook.DataConnections)
{
Console.WriteLine("Connection Name: " + connection.Name);
}
workbook.Save("output.xlsm");
}
}
}
See Also
- class ExternalConnection
- namespace Aspose.Cells.ExternalConnections
- assembly Aspose.Cells