Freigeben über


BusinessLogicParameterCollection.Add-Methode (String, DbType)

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, _
    type As DbType _
) As Integer
'Usage
Dim instance As BusinessLogicParameterCollection 
Dim parameterName As String 
Dim type As DbType 
Dim returnValue As Integer 

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

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