IDataServiceConfiguration.SetServiceOperationAccessRule Method
Definition
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.
Sets the access rules for the specified service operation.
public:
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
Public Sub SetServiceOperationAccessRule (name As String, rights As ServiceOperationRights)
Parameters
- name
- String
The name of the service operation on which to set access rights.
- rights
- ServiceOperationRights
The rights allowed according to ServiceOperationRights enumeration.
Remarks
The default configuration is to deny access to resources. When a service is initialized, the access rights must be enabled.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.