Share via


IServer Interface

Represents an instance of SQL Server.

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

Syntax

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

The IServer type exposes the following members.

Properties

  Name Description
Public property CollationInfo Gets the CollationInfo object that represents the server collation.
Public property Credentials Gets the collection of server credentials.
Public property Databases Gets the collection of databases on the server.
Public property IsSystemObject Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public property Logins Gets the collection of server logins.
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. (Inherited from IDatabaseObject.)
Public property Triggers Gets the collection of server DDL triggers.

Top

Methods

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

Top