Share via


TransactionManager.BeginTransaction Method (String)

Creates a new transaction object with a given name and returns a reference to it.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Function BeginTransaction ( _
    name As String _
) As Transaction
public Transaction BeginTransaction(
    string name
)
public:
Transaction^ BeginTransaction(
    String^ name
)
member BeginTransaction : 
        name:string -> Transaction
public function BeginTransaction(
    name : String
) : Transaction

Parameters

  • name
    Type: String

    The transaction name.

Return Value

Type: Microsoft.VisualStudio.Modeling.Transaction
A Transaction object.

.NET Framework Security

See Also

Reference

TransactionManager Class

BeginTransaction Overload

Microsoft.VisualStudio.Modeling Namespace