ISqlLogin 接口
对登录名建模。
命名空间: Microsoft.Data.Schema.Sql.SchemaModel
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Interface ISqlLogin _
Inherits ISqlServerSecurityPrincipal, ISqlSecurityPrincipal, IModelNamed, ISqlModelElement, _
IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface ISqlLogin : ISqlServerSecurityPrincipal,
ISqlSecurityPrincipal, IModelNamed, ISqlModelElement, IScriptSourcedModelElement, IModelElement,
IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface class ISqlLogin : ISqlServerSecurityPrincipal,
ISqlSecurityPrincipal, IModelNamed, ISqlModelElement, IScriptSourcedModelElement, IModelElement,
IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
type ISqlLogin =
interface
interface ISqlServerSecurityPrincipal
interface ISqlSecurityPrincipal
interface IModelNamed
interface ISqlModelElement
interface IScriptSourcedModelElement
interface IModelElement
interface IModelPropertyContainer
interface IModelEntity
interface IModelAnnotationHolder
end
public interface ISqlLogin extends ISqlServerSecurityPrincipal, ISqlSecurityPrincipal, IModelNamed, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
ISqlLogin 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
DefaultDatabase | 获取或设置登录名的默认数据库。 | |
DefaultLanguage | 获取或设置登录名的默认语言。 | |
ElementClass | 获取元素的元数据类。 (继承自 IModelElement。) | |
EncryptionOption | 获取或设置一个对 sp_addlogin 的 @encrypt_opt 参数建模的值。 | |
GrantedPermissions | 获取应用于此安全主体的权限的列表。 (继承自 ISqlSecurityPrincipal。) | |
IsMappedToWindowsLogin | 获取或设置一个值,该值指示登录名是否映射到 Windows 登录名。 | |
Model | 获取模型引用。 (继承自 IModelEntity。) | |
Name | 获取或设置元素的名称。 (继承自 IModelElement。) | |
Password | 获取或设置登录名的密码。 | |
PrimarySource | 获取有关元素的主要源的信息。 (继承自 IScriptSourcedModelElement。) | |
ResolutionStatus | 获取或设置模型元素解析状态的值。 (继承自 IModelElement。) | |
RoleMemberships | 获取此服务器级别安全主体所参与的角色成员资格列表。 (继承自 ISqlServerSecurityPrincipal。) | |
SecondarySources | 获取元素的辅助源的列表。 (继承自 IScriptSourcedModelElement。) | |
Sid | 登录的安全标识符 (SID)。 | |
SourceCodePositions | 获取用于定义此元素的源的列表。 (继承自 IModelElement。) | |
ValidationStatus | 获取或设置模型元素验证状态的值。 (继承自 IModelElement。) |
页首
方法
页首