SqlFunctionAttribute.SystemDataAccess Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public SystemDataAccessKind SystemDataAccess { get; set; }

Property Value

Type: Microsoft.SqlServer.Server.SystemDataAccessKind

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

The default is None.

.NET Framework
Available since 2.0
Return to top