DBObject Object (SQL-DMO)

The DBObject object represents properties of a Microsoft® SQL Server™ database object, such as a table or stored procedure.

Remarks

The DBObject object is used as a parameter to the GetObjectByName method of the Database object and the AddObject method of the Transfer object.

You can use the DBObject object to refer to SQL Server defaults, rules, stored procedures, tables, triggers, user-defined data types, and views.

With the DBObject object, you can:

The Name property of DBObject refers to the name of the selected Database object. Database object names are defined with the SQL Server data type sysname, and the value of the DBObject Name property matches the specification of sysname.

Methods
EnumDependencies Method Remove Method (Objects)
ListPermissions Method Script Method
ListUserPermissions Method  

Properties
CreateDate Property SystemObject Property
ID Property Type Property (DBObject)
Name Property TypeName Property
Owner Property (Database Objects)  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.