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: StringThe transaction name.
Return Value
Type: Microsoft.VisualStudio.Modeling.Transaction
A Transaction object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.