The Type property exposes configured attributes of the referenced Microsoft® SQL Server™ component.
object.Type
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
For the DBObject object, interpret the Type property using these values.
| Constant | Value | Description |
|---|---|---|
| SQLDMOObj_Default | 64 | References a default |
| SQLDMOObj_Rule | 128 | References a rule |
| SQLDMOObj_StoredProcedure | 16 | References a stored procedure |
| SQLDMOObj_SystemTable | 2 | References a system table |
| SQLDMOObj_Trigger | 256 | References a trigger |
| SQLDMOObj_ UserDefinedDatatype |
1 | References a user-defined data type |
| SQLDMOObj_UserTable | 8 | References a user-defined table |
| SQLDMOObj_View | 4 | References a view |
Long, enumerated
Read-only
HRESULT GetType(SQLDMO_OBJECT_TYPE* pRetVal)