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
Available since 2.0
Return to top
Show: