DesignerDataSchemaClass Class

Specifies the types of objects that can be retrieved from a data-store schema. This class cannot be inherited.


Namespace:  System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

public sealed class DesignerDataSchemaClass

The DesignerDataSchemaClass type exposes the following members.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldStatic memberStoredProceduresIndicates that stored procedures should be returned from the data-store schema.
Public fieldStatic memberTablesIndicates that tables should be returned from the data-store schema.
Public fieldStatic memberViewsIndicates that data views should be returned from the data-store schema.

The DesignerDataSchemaClass class is one of several types that represent the schema of a data store at design-time. These schema items are made available to controls by designers implementing the IDataEnvironment interface. Controls access schema objects by calling the GetConnectionSchema method of the interface.

Use fields from the DesignerDataSchemaClass class when calling the GetSchemaItems method to specify the types of objects you want to retrieve from a data-store schema.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft