IDatabaseObject Interface

Defines methods and properties that are common to all database objects.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IDatabaseObject _
    Inherits IMetadataObject
'Usage
Dim instance As IDatabaseObject
public interface IDatabaseObject : IMetadataObject
public interface class IDatabaseObject : IMetadataObject
type IDatabaseObject =  
    interface 
        interface IMetadataObject 
    end
public interface IDatabaseObject extends IMetadataObject

The IDatabaseObject type exposes the following members.

Properties

  Name Description
Public property IsSystemObject Gets a value that indicates whether this is a system object.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the IDatabaseObject object that is the parent of this object.

Top

Methods

  Name Description
Public method Accept<T>(IDatabaseObjectVisitor<T>) Accepts a visit from the specified IDatabaseObjectVisitor<T> object.
Public method Accept<T>(IMetadataObjectVisitor<T>) Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace