Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDataServiceConfiguration.SetEntitySetAccessRule Method

Sets the access rules for the specified entity set.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

'Declaration
Sub SetEntitySetAccessRule ( _
	name As String, _
	rights As EntitySetRights _
)
'Usage
Dim instance As IDataServiceConfiguration 
Dim name As String 
Dim rights As EntitySetRights

instance.SetEntitySetAccessRule(name, _
	rights)

Parameters

name
Type: System.String
The name of the entity set for configured access.
rights
Type: System.Data.Services.EntitySetRights
The rights allowed for the entity set.

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

Show:
© 2015 Microsoft