Поделиться через


Интерфейс IUser

Represents a SQL Server user.

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Interface IUser _
    Inherits IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
'Применение
Dim instance As IUser
public interface IUser : IDatabasePrincipal, IDatabaseOwnedObject, 
    IDatabaseObject, IMetadataObject
public interface class IUser : IDatabasePrincipal, 
    IDatabaseOwnedObject, IDatabaseObject, IMetadataObject
type IUser =  
    interface
        interface IDatabasePrincipal
        interface IDatabaseOwnedObject
        interface IDatabaseObject
        interface IMetadataObject
    end
public interface IUser extends IDatabasePrincipal, IDatabaseOwnedObject, IDatabaseObject, IMetadataObject

Тип IUser обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство AsymmetricKey Gets the IAsymmetricKey object that is associated with the user.
Открытое свойство Certificate Gets the ICertificate object that is associated with the user.
Открытое свойство Database Gets the IDatabase object that owns this object. (Производный от IDatabaseOwnedObject.)
Открытое свойство DefaultSchema Gets an ISchema object that specifies the default schema for the user.
Открытое свойство IsSystemObject Gets a value that indicates whether this is a system object. (Производный от IDatabaseObject.)
Открытое свойство Login Gets an ILogin object that specifies the login for the user.
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство Parent Gets the IDatabaseObject object that is the parent of this object. (Производный от IDatabaseObject.)
Открытое свойство UserType Gets the type of the user.

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > )(IDatabaseObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IDatabaseObjectVisitor<(Of <(<'T>)>)> object. (Производный от IDatabaseObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(IDatabaseOwnedObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IDatabaseOwnedObjectVisitor<(Of <(<'T>)>)> object. (Производный от IDatabaseOwnedObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(IMetadataObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)

В начало