Share via


WorkbookConnection.Description Property

Returns or sets a brief description for a WorkbookConnection object. Read/write String.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Description As String
    Get
    Set
'Usage
Dim instance As WorkbookConnection
Dim value As String

value = instance.Description

instance.Description = value
string Description { get; set; }

Property Value

Type: System.String

Remarks

In the Connection Properties dialog box, the user may edit the name of the connection and/or the description. Changing the name and description in this dialog box changes those fields only within the Excel connection object.

The maximum size of a description is 255 characters. If the user specifies a description within a connection file that is longer than 255 characters, the description is truncate to fit the 255 character limit.

See Also

Reference

WorkbookConnection Interface

WorkbookConnection Members

Microsoft.Office.Interop.Excel Namespace