Share via


SqlCeException.Source Property

Gets the name of the OLE DB provider that generated the error.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Source As String
    Get
'Usage
Dim instance As SqlCeException
Dim value As String

value = instance.Source
public override string Source { get; }
public:
virtual property String^ Source {
    String^ get () override;
}
abstract Source : string
override Source : string
override function get Source () : String

Property Value

Type: System.String
The name of the OLE DB provider that generated the error.

Implements

_Exception.Source

Remarks

This is the same as the Source property of the first SqlCeError in SqlCeErrorCollection.

See Also

Reference

SqlCeException Class

System.Data.SqlServerCe Namespace