Vertragsverwaltung-Klassenbibliothek  

clsSLA.SelectAll_Active -Methode

[Visual Basic]
Public Function SelectAll_Active() As DataTable

Quellcode

[Visual Basic]
        Public Function SelectAll_Active() As DataTable 
Dim scmCmdToExecute As SqlCommand = New SqlCommand() 
Dim dtToReturn As DataTable = New DataTable() 
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute) 
scmCmdToExecute.CommandText = "dbo.pr_sla_selectall_active" 
scmCmdToExecute.CommandType = CommandType.StoredProcedure 
scmCmdToExecute.Connection = conn.scoDBConnection 
Try 
sdaAdapter.Fill(dtToReturn) 
Return dtToReturn 
Catch ex As Exception 
' // some error occured. Bubble it to caller and encapsulate Exception object 
Throw New Exception("clsSlaKatalogDaten::SLA::" & scmCmdToExecute.CommandText & "::Error occured." & ex.Message, ex) 
Finally 
scmCmdToExecute.Dispose() 
sdaAdapter.Dispose() 
End Try 
End Function

Forderungen

Plattformen: 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

Siehe auch

clsSLA