Sdílet prostřednictvím


IDataServiceConfiguration.SetEntitySetAccessRule Metoda

Definice

Nastaví pravidla přístupu pro zadanou sadu entit.

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

Název entity sady pro nakonfigurovaný přístup.

rights
EntitySetRights

Práva povolená pro sadu entit.

Poznámky

Výchozí konfigurací je odepření přístupu k prostředkům. Při inicializaci služby musí být povolena přístupová práva.

Platí pro