SqlFunctionAttribute.SystemDataAccess Property

Definition

Indicates whether the function requires access to data stored in the system catalogs or virtual system tables of SQL Server.

C#
public Microsoft.Data.SqlClient.Server.SystemDataAccessKind SystemDataAccess { get; set; }

Property Value

DataAccessKind.None: Does not access system data. DataAccessKind.Read: Only reads system data.

Remarks

The default is None.

Applies to

Proizvod Verzije
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1