Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property String^ Id {
	String^ 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:
© 2017 Microsoft