This documentation is archived and is not being maintained.

DBDataPermissionAttribute.ConnectionString Property

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

Gets or sets a permitted connection string.

[Visual Basic]
Public Property ConnectionString As String
[C#]
public string ConnectionString {get; set;}
[C++]
public: __property String* get_ConnectionString();
public: __property void set_ConnectionString(String*);
[JScript]
public function get ConnectionString() : String;
public function set ConnectionString(String);

Property Value

A permitted connection string.

Remarks

Multiple connection strings may be identified. You may also provide additional connection string restrictions using KeyRestrictions.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DBDataPermissionAttribute Class | DBDataPermissionAttribute Members | System.Data.Common Namespace

Show: