ConnectionSecurityContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表你連接 Microsoft SQL Server 時所使用的資訊。
public ref class ConnectionSecurityContext sealed : Microsoft::SqlServer::Replication::IConnectionSecurityContext
public sealed class ConnectionSecurityContext : Microsoft.SqlServer.Replication.IConnectionSecurityContext
type ConnectionSecurityContext = class
interface IConnectionSecurityContext
Public NotInheritable Class ConnectionSecurityContext
Implements IConnectionSecurityContext
- 繼承
-
ConnectionSecurityContext
- 實作
備註
安全情境是驗證模式與(如果你使用 SQL Server 認證)的 SQL Server 登入與密碼的結合。 盡可能使用 Windows 驗證。
此命名空間、類別或成員僅在 Microsoft .NET Framework 2.0 版本中支援。
建構函式
| 名稱 | Description |
|---|---|
| ConnectionSecurityContext() |
初始化 ConnectionSecurityContext 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| SecureSqlStandardPassword |
使用 SQL Server 認證時,會取得或設定密碼。 |
| SqlStandardLogin |
取得或設定使用 SQL Server 認證的登入方式。 |
| SqlStandardPassword |
取得或設定 SQL Server 驗證所需的登入密碼。 |
| WindowsAuthentication |
取得或設定Boolean一個屬性,指定連線是使用 Windows 認證還是 SQL Server 認證建立。 |
方法
| 名稱 | Description |
|---|---|
| Update() |
更新會排程與連線安全情境相關的欄位。 |