SystemDataAccessKind SystemDataAccessKind SystemDataAccessKind SystemDataAccessKind Enum

定义

描述用户定义的方法或函数对系统数据的访问类型。Describes the type of access to system data for a user-defined method or function.

public enum class SystemDataAccessKind
[System.Serializable]
public enum SystemDataAccessKind
type SystemDataAccessKind = 
Public Enum SystemDataAccessKind
继承
SystemDataAccessKindSystemDataAccessKindSystemDataAccessKindSystemDataAccessKind
属性

字段

None None None None 0

方法或函数不访问系统数据。The method or function does not access system data.

Read Read Read Read 1

方法或函数读取系统数据。The method or function reads system data.

注解

描述用户定义的方法或函数对系统数据的访问类型。Describes the type of access to system data for a user-defined method or function.

在使用此枚举SqlMethodAttributeSqlFunctionAttribute以指示所具有的访问权限的方法或函数的系统数据类型。This enumeration is used in SqlMethodAttribute and SqlFunctionAttribute to indicate what type of access to system data the method or function has.

请注意,方法和函数不允许用来更改该数据库,所以此枚举的选项都None(即由方法或函数执行任何数据访问) 和Read(含义的方法或函数执行只读数据访问操作,例如执行 SELECT 语句)。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).

适用于