You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ITSM/.svn/pristine/24/2405ddfefbe3531ebf67c982440...

136 lines
4.4 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML xmlns:MSHelp="http://msdn.microsoft.com/mshelp" DIR="LTR"><HEAD>
<meta name="GENERATOR" content="VBdocman .NET - documentation generator; http://www.vbdocman.com">
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=UTF-8">
<TITLE>clsConnectionProvider.SaveTransaction -Methode</TITLE>
<xml>
<MSHelp:TOCTitle Title="clsConnectionProvider.SaveTransaction -Methode"/>
<MSHelp:RLTitle Title="clsConnectionProvider.SaveTransaction -Methode"/>
<MSHelp:Keyword Index="A" Term="topic_0000000000000D85"/>
<MSHelp:Keyword Index="K" Term="clsConnectionProvider.SaveTransaction -Methode"/>
<MSHelp:Keyword Index="K" Term="Vertragsverwaltung.TKB.VV.DB.clsConnectionProvider.SaveTransaction -Methode"/>
<MSHelp:Keyword Index="F" Term="Vertragsverwaltung.TKB.VV.DB.clsConnectionProvider.SaveTransaction"/>
<MSHelp:Keyword Index="F" Term="clsConnectionProvider.SaveTransaction"/>
<MSHelp:Keyword Index="F" Term="Vertragsverwaltung.TKB.VV.DB.clsConnectionProvider.clsConnectionProvider.SaveTransaction"/>
<MSHelp:Attr Name="DevLang" Value="VB"/>
<MSHelp:Attr Name="DevLangVers" Value="kbLangVB"/>
<MSHelp:Attr Name="DocSet" Value="Visual Basic"/>
<MSHelp:Attr Name="DocSet" Value="Visual Studio"/>
<MSHelp:Attr Name="DocSet" Value="VSM"/>
<MSHelp:Attr Name="Product" Value="VB"/>
<MSHelp:Attr Name="ProductVers" Value="kbVBp700"/>
<MSHelp:Attr Name="Product" Value="VSA"/>
<MSHelp:Attr Name="ProductVers" Value="kbVSA"/>
<MSHelp:Attr Name="Technology" Value="ManagedCode"/>
<MSHelp:Attr Name="TechnologyVers" Value="kbManagedCode"/>
<MSHelp:Attr Name="TopicType" Value="kbSyntax"/>
<MSHelp:Attr Name="TargetOS" Value="Windows"/>
<MSHelp:Attr Name="Locale" Value="kbEnglish"/>
</xml>
<META name="rtfFileName" content="">
<META NAME="save" CONTENT="history">
<!--CSS_START-->
<SCRIPT SRC="MSHelp/scripts/dtuelink.js"></SCRIPT>
<!--CSS_END-->
<SCRIPT language="JavaScript">
function indent(level) {
for (i=1; i<=level; i++) {
document.write("&nbsp;&nbsp;&nbsp;");
}
}
</SCRIPT>
</HEAD>
<body topmargin=0 id="bodyID" class = "dtBODY"><!--NONSCROLLING BANNER START-->
<div id="nsbanner">
<div id="bannerrow1">
<TABLE CLASS="bannerparthead" CELLSPACING=0>
<TR ID="hdr">
<TD CLASS="runninghead" nowrap>Vertragsverwaltung-Klassenbibliothek</TD>
<TD CLASS="product" nowrap>&nbsp;</TD>
</TR>
</TABLE>
</div>
<div id="TitleRow">
<H1 class="dtH1"><A NAME="topic_0000000000000D85"></A>clsConnectionProvider.SaveTransaction -Methode</H1>
</div></div>
<!--NONSCROLLING BANNER END-->
<DIV id="nstext" valign="bottom"><!---->
<PRE class="syntax"><SPAN class="lang">[Visual&nbsp;Basic]
</SPAN><B>Public Function SaveTransaction( _&nbsp;<br> ByRef <i>sSavePointName</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a> _&nbsp;<br>) As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a></B></PRE>
<H4 class="dtH4">Parameter</H4>
<dl>
<dt><i>sSavePointName</i></dt>
<dd></dd>
</dl>
<H4 class="dtH4">Quellcode</H4>
<pre class="code"><SPAN class="lang">[Visual&nbsp;Basic]</SPAN>
Public Function SaveTransaction(sSavePointName As String) As Boolean&nbsp;<br> Try&nbsp;<br> If Not m_bIsTransactionPending Then&nbsp;<br> ' // no transaction pending&nbsp;<br> Throw New Exception(&quot;SaveTransaction::No transaction pending.&quot;)&nbsp;<br> End If&nbsp;<br> If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then&nbsp;<br> ' // no open connection&nbsp;<br> Throw New Exception(&quot;SaveTransaction::Connection is not open.&quot;)&nbsp;<br> End If&nbsp;<br> ' // save the transaction&nbsp;<br> m_stCurrentTransaction.Save(sSavePointName)&nbsp;<br> ' // Store the savepoint in the list.&nbsp;<br> m_alSavePoints.Add(sSavePointName)&nbsp;<br> Return True&nbsp;<br> Catch ex As Exception&nbsp;<br> ' // bubble exception&nbsp;<br> Throw ex&nbsp;<br> End Try&nbsp;<br> End Function
</pre>
<H4 class="dtH4">Forderungen</H4>
<P><b class="le">Plattformen:&nbsp;</b>Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition</P>
<H4 class="dtH4">Siehe auch</H4>
<p>
<a href="topic_0000000000000D77.html">clsConnectionProvider</a>
</p>
<DIV CLASS="footer">
<HR>
Generated by VBdocman .NET
<p>
</div></div>
</BODY>
</HTML>