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
'Declaración
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: System.String
The 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.