DatabaseRole.EnumObjectPermissions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumObjectPermissions(String, ObjectPermissionSet) | |
EnumObjectPermissions() | |
EnumObjectPermissions(ObjectPermissionSet) | |
EnumObjectPermissions(String) |
EnumObjectPermissions(String, ObjectPermissionSet)
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumObjectPermissions : string * Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : string * Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
- granteeName
- String
- permissions
- ObjectPermissionSet
Returns
Implements
Applies to
EnumObjectPermissions()
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions ();
abstract member EnumObjectPermissions : unit -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : unit -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions () As ObjectPermissionInfo()
Returns
Implements
Applies to
EnumObjectPermissions(ObjectPermissionSet)
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumObjectPermissions : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
- permissions
- ObjectPermissionSet
Returns
Implements
Applies to
EnumObjectPermissions(String)
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName);
abstract member EnumObjectPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String) As ObjectPermissionInfo()
Parameters
- granteeName
- String