public class SqlClientInstrumentationOptions
Public Class SqlClientInstrumentationOptions
public ref class SqlClientInstrumentationOptions
type SqlClientInstrumentationOptions = class end
SqlClientInstrumentationOptions | Initializes a new instance of the SqlClientInstrumentationOptions class. |
EnableConnectionLevelAttributes | Gets or sets a value indicating whether or not the SqlClientInstrumentation should parse the DataSource on a SqlConnection into server name, instance name, and/or port connection-level attribute tags. Default value: . |
Enrich | Gets or sets an action to enrich an Activity with the raw SqlCommand object. |
Filter | Gets or sets a filter function that determines whether or not to collect telemetry about a command. |
RecordException | Gets or sets a value indicating whether the exception will be recorded as ActivityEvent or not. Default value: . |
SetDbStatementForStoredProcedure | Gets or sets a value indicating whether or not the SqlClientInstrumentation should add the names of StoredProcedure commands as the AttributeDbStatement tag. Default value: . |
SetDbStatementForText | Gets or sets a value indicating whether or not the SqlClientInstrumentation should add the text of commands as the AttributeDbStatement tag. Default value: . |
Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
GetHashCode | Serves as the default hash function. (Унаследован от Object) |
GetType | Gets the Type of the current instance. (Унаследован от Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
ToString | Returns a string that represents the current object. (Унаследован от Object) |