Connections.Add(String, String, Object, Object, Object) 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 String
Description
String String
ConnectionString
Object Object
CommandText
Object Object
lCmdtype
Object Object

Returns

Applies to