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框架提供的加密服务

该命名空间、类或成员仅在 .NET 框架 2.0 版本中支持。

适用于