RE: DBCC CHECKDB Results

From: Mingqing Cheng [MSFT] (v-mingqc_at_online.microsoft.com)
Date: 09/03/04


Date: Fri, 03 Sep 2004 09:46:36 GMT

Hi Jeff,

>From your descriptions, I understood that you would like to get the result
from DBCC CHECKDB. Have I understood you? If there is anything I
misunderstood, please feel free to let me know.

Based on my scope, I have two ideas for this. First of all, I think the
method mentioned in the following document may help you

How To Call a Parameterized Stored Procedure by Using ADO.NET and Visual
Basic .NET
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q308/0/49.asp&NoWebContent=1#2

Secondly, you could use OSQL.EXE to get the result
1. Make a new console thread in VB.NET
2. Run the OSQL command in that new console
3. Use Process.StandardOutput to get the result from console
Process.StandardOutput Property
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdiagnosticsprocessclassstandardoutputtopic.asp

Additionaly, I think the following document will help you much:)
NET Data Access Architecture Guide
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/
daag.asp

Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
 

Sincerely yours,

Mingqing Cheng
Microsoft Developer Community Support
---------------------------------------------------------------
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!



Relevant Pages

  • Re: transferring 360 arcade games
    ... I got my XBLA games working again with no ... other people, such as yourself, trying to get a points refund because the ... Perhaps I misunderstood your situation - I thought that you had had to ... above when you received your repaired/replaced console, ...
    (uk.games.video.misc)
  • Re: transferring 360 arcade games
    ... I got my XBLA games working again with no ... people, such as yourself, trying to get a points refund because the system ... Perhaps I misunderstood your situation - I thought that you had had to ... above when you received your repaired/replaced console, ...
    (uk.games.video.misc)
  • Help With Variable Scope!
    ... At the moment I'm writing my First Form application compared to the few console bits and pieces that ive been working on. ... The thing i'm struggling with is the scope of variables. ... Basically calling the counter function from the class and the coutner function counts the lines in a textfile etc where the variable lineCount is declared....how do I carry that back to the main form so that I can insert it into a textbox etc. ...
    (microsoft.public.dotnet.languages.csharp)