Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDataServiceConfiguration.SetServiceOperationAccessRule Method

Sets the access rules for the specified service operation.

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)
function SetServiceOperationAccessRule(
	name : String, 
	rights : ServiceOperationRights
)

Parameters

name
Type: System.String

The name of the service operation on which to set access rights.

rights
Type: System.Data.Services.ServiceOperationRights

The rights allowed according to ServiceOperationRights enumeration.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.