DataSourceAttribute.ConnectionString Property
Gets a value representing the connection string for the data source.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property ConnectionString As String
public string ConnectionString { get; }
public:
property String^ ConnectionString {
String^ get ();
}
member ConnectionString : string with get
function get ConnectionString () : String
Property Value
Type: String
The connection string used to access the data source.
Remarks
To set this attribute property, see How to: Configure a Data-Driven Unit Test.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UnitTesting Namespace