.NET Framework Class Library
SqlContext Members

Represents an abstraction of the caller's context, which provides access to the SqlPipe, SqlTriggerContext, and WindowsIdentity objects. This class cannot be inherited.

The SqlContext type exposes the following members.

Methods

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyStatic memberIsAvailableSpecifies whether the calling code is running within SQL Server, and if the context connection can be accessed.
Public propertyStatic memberPipeGets the pipe object that allows the caller to send result sets, messages, and the results of executing commands back to the client.
Public propertyStatic memberTriggerContextGets the trigger context used to provide the caller with information about what caused the trigger to fire, and a map of the columns that were updated.
Public propertyStatic memberWindowsIdentityThe Microsoft Windows identity of the caller.
Top
See Also

Reference

Tags :


Page view tracker