共用方式為


PublisherConnectionSecurityContext.SqlStandardPassword Property

Definition

Gets or sets the password for the SqlStandardLogin when using SQL Server Authentication.

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

Property Value

A String value.

Remarks

When possible, use Windows Authentication.

This property is only required when the SecurityMode property is set to SqlStandard.

When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic services provided by the Microsoft Windows .NET Framework.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Applies to