语言

IConnectionSecurityContext 接口

定义

为晚期 COM 客户端提供该 ConnectionSecurityContext 类的实现。 有关该接口成员的信息,请参阅参考 ConnectionSecurityContext文档。

public interface class IConnectionSecurityContext
[System.Runtime.InteropServices.Guid("8BC1C162-A402-4EAC-945C-E8544115EF67")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface IConnectionSecurityContext
[<System.Runtime.InteropServices.Guid("8BC1C162-A402-4EAC-945C-E8544115EF67")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)>]
type IConnectionSecurityContext = interface
Public Interface IConnectionSecurityContext
派生
属性

属性

名称 说明
SecureSqlStandardPassword

在使用 SQL 服务器认证时获取或设置密码。

SqlStandardLogin

获取或设置使用 SQL Server 认证的登录信息。

SqlStandardPassword

获取或设置SQL Server认证所需登录密码。

WindowsAuthentication

获取或设置一个值,表示连接是否通过 Windows 认证建立。

方法

名称 说明
Update()

更新与连接安全上下文相关的调度字段。

适用于