SqlTrackingQuery Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SqlTrackingQuery class.
Overloads
SqlTrackingQuery() |
Initializes a new instance of the SqlTrackingQuery class. |
SqlTrackingQuery(String) |
Initializes a new instance of the SqlTrackingQuery class. |
SqlTrackingQuery()
Initializes a new instance of the SqlTrackingQuery class.
public:
SqlTrackingQuery();
public SqlTrackingQuery();
Public Sub New ()
Remarks
The parameterless constructor initializes ConnectionString to a null reference (Nothing
in Visual Basic). You must set ConnectionString before you call GetWorkflows or TryGetWorkflow or an InvalidOperationException will be thrown.
Applies to
SqlTrackingQuery(String)
Initializes a new instance of the SqlTrackingQuery class.
public:
SqlTrackingQuery(System::String ^ connectionString);
public SqlTrackingQuery(string connectionString);
new System.Workflow.Runtime.Tracking.SqlTrackingQuery : string -> System.Workflow.Runtime.Tracking.SqlTrackingQuery
Public Sub New (connectionString As String)
Parameters
- connectionString
- String
The connection string of the SQL database to query.
Exceptions
connectionString
is a null reference (Nothing
in Visual Basic).
Remarks
The ConnectionString property is initialized to connectionString
.