Udostępnij za pośrednictwem


IDataServiceConfiguration.SetEntitySetAccessRule Metoda

Definicja

Ustawia reguły dostępu dla określonego zestawu jednostek.

public:
 void SetEntitySetAccessRule(System::String ^ name, System::Data::Services::EntitySetRights rights);
public void SetEntitySetAccessRule (string name, System.Data.Services.EntitySetRights rights);
abstract member SetEntitySetAccessRule : string * System.Data.Services.EntitySetRights -> unit
Public Sub SetEntitySetAccessRule (name As String, rights As EntitySetRights)

Parametry

name
String

Nazwa zestawu jednostek dla skonfigurowanego dostępu.

rights
EntitySetRights

Prawa dozwolone dla zestawu jednostek.

Uwagi

Domyślną konfiguracją jest odmowa dostępu do zasobów. Po zainicjowaniu usługi należy włączyć prawa dostępu.

Dotyczy