SqlSmoObject Class

The SqlSmoObject object represents all Microsoft SQL Server objects.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public MustInherit Class SqlSmoObject
    Inherits SmoObjectBase
public abstract class SqlSmoObject : SmoObjectBase
public ref class SqlSmoObject abstract : public SmoObjectBase
public abstract class SqlSmoObject extends SmoObjectBase
public abstract class SqlSmoObject extends SmoObjectBase

Remarks

Updated text:

The SqlSmoObject is a generic object that is used to referenced objects that are not of a specified type. The SqlSmoObject is also used as a base class.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.SqlSmoObject
       Derived Classes

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SqlSmoObject Members
Microsoft.SqlServer.Management.Smo Namespace

Change History

Release

History

New content:
  • Changed the return value for ObjectInSpace property to a Boolean type.

  • Added description of the Initialize method to Remarks.