Επεξεργασία

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


DataServiceConfiguration.SetServiceOperationAccessRule Method

Definition

Sets the permissions for the specified service operation.

public:
 virtual void SetServiceOperationAccessRule(System::String ^ name, System::Data::Services::ServiceOperationRights rights);
public void SetServiceOperationAccessRule (string name, System.Data.Services.ServiceOperationRights rights);
abstract member SetServiceOperationAccessRule : string * System.Data.Services.ServiceOperationRights -> unit
override this.SetServiceOperationAccessRule : string * System.Data.Services.ServiceOperationRights -> unit
Public Sub SetServiceOperationAccessRule (name As String, rights As ServiceOperationRights)

Parameters

name
String

Name of the service operation for which to set permissions.

rights
ServiceOperationRights

Access rights to be granted to this resource, passed as a ServiceOperationRights value.

Implements

Remarks

When you specify a value of '*' for the name parameter, permissions are set for all service operations that do not have the permissions explicitly set.

Applies to

See also