ConnectionSecurityContext 类
Represents information you use when you connect to Microsoft SQL Server.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Replication..::..ConnectionSecurityContext
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Public NotInheritable Class ConnectionSecurityContext _
Implements IConnectionSecurityContext
用法
Dim instance As ConnectionSecurityContext
public sealed class ConnectionSecurityContext : IConnectionSecurityContext
public ref class ConnectionSecurityContext sealed : IConnectionSecurityContext
[<SealedAttribute>]
type ConnectionSecurityContext =
class
interface IConnectionSecurityContext
end
public final class ConnectionSecurityContext implements IConnectionSecurityContext
ConnectionSecurityContext 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ConnectionSecurityContext | Initializes a new instance of the ConnectionSecurityContext class. |
页首
属性
名称 | 说明 | |
---|---|---|
SecureSqlStandardPassword | ||
SqlStandardLogin | Gets or sets the login used with SQL Server Authentication. | |
SqlStandardPassword | Gets or sets the password for the login required for SQL Server Authentication. | |
WindowsAuthentication | Gets or sets the Boolean property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) | |
Update | Updates schedule fields associated with the connection security context. |
页首
注释
A security context is the combination of the authentication mode and, if you use SQL Server Authentication, the SQL Server login and password. 请尽可能使用 Windows 身份验证。
This namespace, class, or member is supported only in the Microsoft .NET Framework version 2.0.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。