Condividi tramite


Interfaccia IDatabase

Represents a SQL Server database. 

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
Public Interface IDatabase _
    Inherits IServerOwnedObject, IDatabaseObject, IMetadataObject
'Utilizzo
Dim instance As IDatabase
public interface IDatabase : IServerOwnedObject, 
    IDatabaseObject, IMetadataObject
public interface class IDatabase : IServerOwnedObject, 
    IDatabaseObject, IMetadataObject
type IDatabase =  
    interface
        interface IServerOwnedObject
        interface IDatabaseObject
        interface IMetadataObject
    end
public interface IDatabase extends IServerOwnedObject, IDatabaseObject, IMetadataObject

Nel tipo IDatabase sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica ApplicationRoles Gets a collection of all application roles that are defined in the database.
Proprietà pubblica AsymmetricKeys Gets a collection of all asymmetric keys in the database.
Proprietà pubblica Certificates Gets a collection of all certificates in the database.
Proprietà pubblica CollationInfo Gets the collation that is used by the database.
Proprietà pubblica CompatibilityLevel Gets the collation of the database.
Proprietà pubblica DefaultSchemaName Gets the name of the database default schema.
Proprietà pubblica IsSystemObject Gets a value that indicates whether this is a system object. Ereditato da IDatabaseObject.
Proprietà pubblica Name Gets the name of the metadata object. Ereditato da IMetadataObject.
Proprietà pubblica Owner Gets the IUser object that represents the database owner.
Proprietà pubblica Parent Gets the IDatabaseObject object that is the parent of this object. Ereditato da IDatabaseObject.
Proprietà pubblica Roles Gets a collection of all roles that are defined in the database.
Proprietà pubblica Schemas Gets a collection of all schemas in the database.
Proprietà pubblica Server Gets the IServer object that owns this object. Ereditato da IServerOwnedObject.
Proprietà pubblica Triggers Gets a collection of all triggers in the database.
Proprietà pubblica Users Gets a collection of all users in the database.

In alto