Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
MSDN
MSDN Library
System.Data
 MissingSchemaAction (Enumeración)
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
MissingSchemaAction Enumeration

Specifies the action to take when adding data to the DataSet and the required DataTable or DataColumn is missing.

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)
Visual Basic
Public Enumeration MissingSchemaAction
C#
public enum MissingSchemaAction
Visual C++
public enum class MissingSchemaAction
F#
type MissingSchemaAction
Member nameDescription
Supported by the XNA FrameworkAddAdds the necessary columns to complete the schema.
Supported by the XNA FrameworkIgnoreIgnores the extra columns.
Supported by the XNA FrameworkErrorAn InvalidOperationException is generated if the specified column mapping is missing.
Supported by the XNA FrameworkAddWithKeyAdds the necessary columns and primary key information to complete the schema. For more information about how primary key information is added to a DataTable, see FillSchema.To function properly with the .NET Framework Data Provider for OLE DB, AddWithKey requires that the native OLE DB provider obtains necessary primary key information by setting the DBPROP_UNIQUEROWS property, and then determines which columns are primary key columns by examining DBCOLUMN_KEYCOLUMN in the IColumnsRowset. As an alternative, the user may explicitly set the primary key constraints on each DataTable. This ensures that incoming records that match existing records are updated instead of appended. When using AddWithKey, the .NET Framework Data Provider for SQL Server appends a FOR BROWSE clause to the statement being executed. The user should be aware of potential side effects, such as interference with the use of SET FMTONLY ON statements. See SQL Server Books Online for more information.

The MissingSchemaAction values are used whenever an action is taken that could change the schema of the DataSet.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Biblioteca de clases de .NET Framework
MissingSchemaAction (Enumeración)

Especifica la acción que se debe realizar cuando se agregan datos al DataSet y faltan el DataTable o DataColumn necesarios.

Espacio de nombres:  System.Data
Ensamblado:  System.Data (en System.Data.dll)
Visual Basic
Public Enumeration MissingSchemaAction
C#
public enum MissingSchemaAction
Visual C++
public enum class MissingSchemaAction
F#
type MissingSchemaAction
Nombre de miembroDescripción
Compatible con XNA FrameworkAddAgrega las columnas necesarias para completar el esquema.
Compatible con XNA FrameworkIgnoreOmite las columnas adicionales.
Compatible con XNA FrameworkErrorSi la asignación de columna especificada no existe, se genera InvalidOperationException.
Compatible con XNA FrameworkAddWithKeyAgrega las columnas necesarias e información sobre la clave principal para completar el esquema. Para obtener más información sobre cómo se agrega la información de clave principal a DataTable, vea FillSchema. Para funcionar correctamente con el proveedor de datos de .NET Framework para OLE DB, AddWithKey requiere que el proveedor OLE DB nativo obtenga la información de clave principal necesaria mediante el establecimiento de la propiedad DBPROP_UNIQUEROWS y, a continuación, determine las columnas que son de clave principal mediante el examen de DBCOLUMN_KEYCOLUMN en el IColumnsRowset. Como alternativa, el usuario puede establecer de forma explícita las restricciones de clave principal en cada DataTable. De este modo se garantiza que los registros entrantes que coincidan con los ya existentes se actualicen en lugar de agregarse. Cuando se utiliza el método AddWithKey, el proveedor de datos de .NET Framework para SQL Server agrega una cláusula FOR BROWSE a la instrucción que se está ejecutando. El usuario debe tener en cuenta los posibles efectos secundarios, como las interferencias con el uso de las instrucciones SET FMTONLY ON. Vea los Libros en pantalla de SQL Server para obtener más información.

Los valores de MissingSchemaAction se utilizan siempre que se lleva a cabo una acción que pueda cambiar el esquema del DataSet.

.NET Framework

Compatible con: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Compatible con: 4, 3.5 SP1

Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2

.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker