Share via


SqlSyncTableProvisioning.Apply Method (SqlTransaction)

Applies the provisioning script to a SQL Server database within the specified transaction.

Namespace:  Microsoft.Synchronization.Data.SqlServer
Assembly:  Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)

Syntax

'Declaration
Public Sub Apply ( _
    trans As SqlTransaction _
)
'Usage
Dim instance As SqlSyncTableProvisioning
Dim trans As SqlTransaction

instance.Apply(trans)
public void Apply(
    SqlTransaction trans
)
public:
void Apply(
    SqlTransaction^ trans
)
member Apply : 
        trans:SqlTransaction -> unit 
public function Apply(
    trans : SqlTransaction
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

trans is null reference (Nothing in Visual Basic).

ArgumentException

FilterColumns is empty and FilterClause is empty or null reference (Nothing in Visual Basic).

See Also

Reference

SqlSyncTableProvisioning Class

Apply Overload

Microsoft.Synchronization.Data.SqlServer Namespace