Export (0) Print
Expand All

DataAccessKind Enumeration

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft