Share via


EnvironmentInfo.Deny Method

Denies the permission to a specified user.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public Sub Deny ( _
    permission As PermissionType, _
    granteeName As String _
)
'Usage
Dim instance As EnvironmentInfo 
Dim permission As PermissionType 
Dim granteeName As String

instance.Deny(permission, granteeName)
public void Deny(
    PermissionType permission,
    string granteeName
)
public:
void Deny(
    PermissionType permission, 
    String^ granteeName
)
member Deny : 
        permission:PermissionType * 
        granteeName:string -> unit
public function Deny(
    permission : PermissionType, 
    granteeName : String
)

Parameters

See Also

Reference

EnvironmentInfo Class

Microsoft.SqlServer.Management.IntegrationServices Namespace