Edit

Share via


IConnections.Add2 Method

Definition

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

Parameters

Name
String
Description
String
ConnectionString
Object
CommandText
Object
lCmdtype
Object
CreateModelConnection
Object
ImportRelationships
Object

Returns

Applies to