xSQL Schema Compare SDK version 9.5 for SQL Server
Item(String,String,String,String,PermissionStateEnum) Property


The principal to which the permission is granted or denied. The grantee parameter can be null.
The principal that granted or denied the permission. The grantor parameter can be null.
The column on which the permission is granted or denied. The column parameter can be null.
The permission type code. The permissionType parameter can be null.
The permission state, such as GRANT or DENY.
Gets the SqlPermission element with the specified settings.
Syntax
'Declaration
 
Public Overloads Shadows ReadOnly Property Item( _
   ByVal grantee As System.String, _
   ByVal grantor As System.String, _
   ByVal column As System.String, _
   ByVal permissionTypeCode As System.String, _
   ByVal permissionState As PermissionStateEnum _
) As SqlPermission
public new SqlPermission Item( 
   System.string grantee,
   System.string grantor,
   System.string column,
   System.string permissionTypeCode,
   PermissionStateEnum permissionState
) {get;}
public: __property new SqlPermission* get_Item( 
   System.string* grantee,
   System.string* grantor,
   System.string* column,
   System.string* permissionTypeCode,
   PermissionStateEnum permissionState
);

Parameters

grantee
The principal to which the permission is granted or denied. The grantee parameter can be null.
grantor
The principal that granted or denied the permission. The grantor parameter can be null.
column
The column on which the permission is granted or denied. The column parameter can be null.
permissionTypeCode
The permission type code. The permissionType parameter can be null.
permissionState
The permission state, such as GRANT or DENY.

Property Value

A SqlPermission element that meets the specified criteria or null if no element is found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlPermissionCollection Class
SqlPermissionCollection Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback