共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
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

Return Value

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

.NET Framework Security

See Also

Reference

TransactionManager Class

BeginTransaction Overload

Microsoft.VisualStudio.Modeling Namespace