Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Id Property
Collapse the table of content
Expand the table of content

SqlDependency.Id Property

Gets a value that uniquely identifies this instance of the SqlDependency class.

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

public string Id { get; }

Property Value

Type: System.String
A string representation of a GUID that is generated for each instance of the SqlDependency class.

The Id property is used to uniquely identify a given SqlDependency instance.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft