Freigeben über


BusinessLogicParameterCollection.Add-Methode (String, DbType, String)

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Adds the specified parameter to the collection.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public Function Add ( _
    parameterName As String, _
    dbType As DbType, _
    sourceColumn As String _
) As Integer
'Usage
Dim instance As BusinessLogicParameterCollection 
Dim parameterName As String 
Dim dbType As DbType 
Dim sourceColumn As String 
Dim returnValue As Integer 

returnValue = instance.Add(parameterName, _
    dbType, sourceColumn)
public int Add(
    string parameterName,
    DbType dbType,
    string sourceColumn
)
public:
int Add(
    String^ parameterName, 
    DbType dbType, 
    String^ sourceColumn
)
member Add : 
        parameterName:string * 
        dbType:DbType * 
        sourceColumn:string -> int
public function Add(
    parameterName : String, 
    dbType : DbType, 
    sourceColumn : String
) : int

Parameter

  • sourceColumn
    Typ: System.String
    The source column where to add the parameter.

Rückgabewert

Typ: System.Int32
The index of the parameter object in the collection.

Siehe auch

Verweis

BusinessLogicParameterCollection Klasse

Add-Überladung

Microsoft.SqlServer.Replication.BusinessLogicSupport-Namespace