Freigeben über


IServer-Schnittstelle

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

Der IServer-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CollationInfo Gets the CollationInfo object that represents the server collation.
Öffentliche Eigenschaft Credentials Gets the collection of server credentials.
Öffentliche Eigenschaft Databases Gets the collection of databases on the server.
Öffentliche Eigenschaft IsSystemObject Gets a value that indicates whether this is a system object. (Geerbt von IDatabaseObject.)
Öffentliche Eigenschaft Logins Gets the collection of server logins.
Öffentliche Eigenschaft Name Gets the name of the metadata object. (Geerbt von IMetadataObject.)
Öffentliche Eigenschaft Parent Gets the IDatabaseObject object that is the parent of this object. (Geerbt von IDatabaseObject.)
Öffentliche Eigenschaft Triggers Gets the collection of server DDL triggers.

Zum Anfang