SqlFunctionAttribute.SystemDataAccess Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the function requires access to data stored in the system catalogs or virtual system tables of SQL Server.
public:
property Microsoft::Data::SqlClient::Server::SystemDataAccessKind SystemDataAccess { Microsoft::Data::SqlClient::Server::SystemDataAccessKind get(); void set(Microsoft::Data::SqlClient::Server::SystemDataAccessKind value); };
C#
public Microsoft.Data.SqlClient.Server.SystemDataAccessKind SystemDataAccess { get; set; }
member this.SystemDataAccess : Microsoft.Data.SqlClient.Server.SystemDataAccessKind with get, set
Public Property SystemDataAccess As SystemDataAccessKind
DataAccessKind.None
: Does not access system data. DataAccessKind.Read
: Only reads system data.
The default is None.
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 |