SystemDataAccessKind Enum

Definition

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

public enum class SystemDataAccessKind
[System.Serializable]
public enum SystemDataAccessKind
public enum SystemDataAccessKind
[<System.Serializable>]
type SystemDataAccessKind = 
type SystemDataAccessKind = 
Public Enum SystemDataAccessKind
Inheritance
SystemDataAccessKind
Attributes

Fields

Name Value Description
None 0

The method or function does not access system data.

Read 1

The method or function reads system data.

Remarks

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

This enumeration is used in SqlMethodAttribute and SqlFunctionAttribute to indicate what type of access to system data the method or function has.

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 performs read-only data-access operations, such as executing SELECT statements).

Applies to