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

CatalogFolder.ScriptDeny Method

Indicates the script to deny the permission to a folder.

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

'Declaration
Public Function ScriptDeny ( _
	permission As PermissionType, _
	principalId As Integer _
) As ISfcScript
'Usage
Dim instance As CatalogFolder 
Dim permission As PermissionType 
Dim principalId As Integer 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptDeny(permission, _
	principalId)

Parameters

permission
Type: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
principalId
Type: Int32
The identifier of the principal.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to deny the permission to a folder.

Community Additions

Show:
© 2015 Microsoft