My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#region LGPL Header
// Copyright (C) 2009, Jackie Ng
// http://code.google.com/p/fdotoolbox, jumpinjackie@gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
//
// See license.txt for more/additional licensing information
#endregion
using System;
using System.Collections.Generic;
using System.Text;

namespace FdoToolbox.Core.AppFramework
{
/// <summary>
/// Status codes that can be returned by any console application
/// </summary>
public enum CommandStatus : int
{
/// <summary>
/// Operation OK, no errors encounters
/// </summary>
E_OK = 0,
/// <summary>
/// Failed to create SDF
/// </summary>
E_FAIL_SDF_CREATE = 1,
/// <summary>
/// Failed to apply schema
/// </summary>
E_FAIL_APPLY_SCHEMA = 2,
/// <summary>
/// Failed to destory datastore
/// </summary>
E_FAIL_DESTROY_DATASTORE = 3,
/// <summary>
/// Failed to connect
/// </summary>
E_FAIL_CONNECT = 4,
/// <summary>
/// Failed to serialize a feature schema
/// </summary>
E_FAIL_SERIALIZE_SCHEMA_XML = 5,
/// <summary>
/// Failed to create datastore
/// </summary>
E_FAIL_CREATE_DATASTORE = 6,
/// <summary>
/// Failed to bulk copy
/// </summary>
E_FAIL_BULK_COPY = 7,
/// <summary>
/// Task validation failed
/// </summary>
E_FAIL_TASK_VALIDATION = 8,
/// <summary>
/// Failed to create connection
/// </summary>
E_FAIL_CREATE_CONNECTION = 9,
/// <summary>
/// Failed to find intended schema
/// </summary>
E_FAIL_SCHEMA_NOT_FOUND = 10,
/// <summary>
/// Failed to find intended class
/// </summary>
E_FAIL_CLASS_NOT_FOUND = 11,
/// <summary>
/// The given capability is not supported
/// </summary>
E_FAIL_UNSUPPORTED_CAPABILITY = 12,
/// <summary>
/// The query results failed to load
/// </summary>
E_FAIL_LOAD_QUERY_RESULTS = 13,
/// <summary>
/// The task definition being attempted to load is not a recognised format
/// </summary>
E_FAIL_UNRECOGNISED_TASK_FORMAT = 14,
/// <summary>
/// Bulk Copy ran with errors logged
/// </summary>
E_FAIL_BULK_COPY_WITH_ERRORS = 15,
/// <summary>
/// Join operation ran with errors logged
/// </summary>
E_FAIL_JOIN_WITH_ERRORS = 16,
/// <summary>
/// The specified SQL statement was a SELECT statement
/// </summary>
E_FAIL_INVALID_SQL = 17,
/// <summary>
/// The specified SQL statement threw an exception during execution
/// </summary>
E_FAIL_SQL_EXECUTION_ERROR = 18,
/// <summary>
/// The specified provider does not support SQL commands
/// </summary>
E_FAIL_SQL_COMMAND_NOT_SUPPORTED = 19,
/// <summary>
/// The command was invoked with invalid or incomplete arguments
/// </summary>
E_FAIL_INVALID_ARGUMENTS = 20,
/// <summary>
/// A RunTask command was executed with a bcptask parameter specifying
/// a copy task that doesn't exist
/// </summary>
E_FAIL_MISSING_BULK_COPY_TASKS = 21,
/// <summary>
/// An I/O error occured
/// </summary>
E_FAIL_IO_ERROR = 22,
/// <summary>
/// Unknown failure
/// </summary>
E_FAIL_UNKNOWN
}
}

Change log

r1114 by jumpinjackie on Aug 3, 2010   Diff
Fix  Issue 294 : Add ListBcpTasks command to
FdoInfo.exe

Also update the changelog.txt
Go to: 
Project members, sign in to write a code review

Older revisions

r1099 by jumpinjackie on Jul 27, 2010   Diff
Fix  Issue 292 : Add support for only
running a specific task within the
Bulk Copy Definition file for the
FdoUtil.exe RunTask command
r1098 by jumpinjackie on Jul 26, 2010   Diff
Fix  Issue 291 : This submission
implements support for non-SELECT SQL
statements in FdoUtil.exe

Also new error codes have been
...
r900 by jumpinjackie on Jun 1, 2009   Diff
This submission includes the following
changes:

- Add implementation of RunTask for
FdoUtil.exe
...
All revisions of this file

File info

Size: 4490 bytes, 131 lines
Powered by Google Project Hosting