Connections.Add(String, String, Object, Object, Object) Method

Definition

This object, member, or enumeration is deprecated and is not intended to be used in your code.

public Microsoft.Office.Interop.Excel.WorkbookConnection Add (string Name, string Description, object ConnectionString, object CommandText, object lCmdtype);
Public Function Add (Name As String, Description As String, ConnectionString As Object, CommandText As Object, Optional lCmdtype As Object) As WorkbookConnection

Parameters

Name
String
Description
String
ConnectionString
Object
CommandText
Object
lCmdtype
Object

Returns

Applies to