DataObjectRestrictionMapper.Connection Property
Retrieves the DataConnection object instance for the current connection.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected ReadOnly Property Connection As DataConnection
Get
protected DataConnection Connection { get; }
protected:
property DataConnection^ Connection {
DataConnection^ get ();
}
member Connection : DataConnection
function get Connection () : DataConnection
Property Value
Type: Microsoft.VisualStudio.Data.DataConnection
Returns the current DataConnection object instance.
.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
DataObjectRestrictionMapper Class