Ανάγνωση στα Αγγλικά Επεξεργασία

Κοινή χρήση μέσω


IDataServiceConfiguration.SetEntitySetAccessRule Method

Definition

Sets the access rules for the specified entity set.

C#
public void SetEntitySetAccessRule (string name, System.Data.Services.EntitySetRights rights);

Parameters

name
String

The name of the entity set for configured access.

rights
EntitySetRights

The rights allowed for the entity set.

Remarks

The default configuration is to deny access to resources. When a service is initialized the access rights must be enabled.

Applies to

Προϊόν Εκδόσεις
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1