Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets the connection string setting element in the <connectionStrings> section in the app.config file.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
<ConfigurationPropertyAttribute("connectionString", IsRequired := True)> _
Public Property ConnectionString As String
[ConfigurationPropertyAttribute("connectionString", IsRequired = true)]
public string ConnectionString { get; set; }
[ConfigurationPropertyAttribute(L"connectionString", IsRequired = true)]
public:
property String^ ConnectionString {
String^ get ();
void set (String^ value);
}
[<ConfigurationPropertyAttribute("connectionString", IsRequired = true)>]
member ConnectionString : string with get, set
function get ConnectionString () : String
function set ConnectionString (value : String)
Property Value
Type: String
A connection string.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.