語言

PublisherConnectionSecurityContext.SqlStandardPassword 屬性

定義

使用 SQL Server 認證時,會取得或設定密碼SqlStandardLogin。

public:
 property System::String ^ SqlStandardPassword { System::String ^ get(); void set(System::String ^ value); };
public string SqlStandardPassword { get; set; }
member this.SqlStandardPassword : string with get, set
Public Property SqlStandardPassword As String

屬性值

一個 String 值。

備註

盡可能使用 Windows 驗證。

此 SecurityMode 性質僅在該性質被設定為 SqlStandard時才需要。

在執行時,請提示使用者輸入安全憑證。 如果你必須儲存憑證,請使用 Microsoft Windows .NET Framework 提供的加密服務。

此命名空間、類別或成員僅在 .NET 框架 2.0 版本中被支援。

適用於