Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataAccessKind Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Describes the type of access to user data for a user-defined method or function.

Namespace: Microsoft.SqlServer.Server
Assembly: System.Data (in system.data.dll)

[SerializableAttribute] 
public enum DataAccessKind
/** @attribute SerializableAttribute() */ 
public enum DataAccessKind
SerializableAttribute 
public enum DataAccessKind
 Member nameDescription
NoneThe method or function does not access user data. 
ReadThe method or function reads user data. 

Describes the type of access to user data for a user-defined method or function.

This enumeration is used in SqlMethodAttribute and SqlFunctionAttribute to indicate whether the method or function uses ADO.NET to connect back to the database using the "context connection."

Note that methods and functions are not allowed to make changes to the database, so the options for this enumeration are None (meaning no data-access performed by the method or function) and Read (meaning that the method or function perform read-only data-access operations, such as executing SELECT statements).

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.