Source Property
Collapse the table of content
Expand the table of content

SqlInfoMessageEventArgs.Source Property

 

Gets the name of the object that generated the error.

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

public string Source { get; }

Property Value

Type: System.String

The name of the object that generated the error.

This is a wrapper for the Source property of the first SqlError in the Errors collection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft