Database.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() | |
EnumObjectPermissions(ObjectPermissionSet) | |
EnumObjectPermissions(String) | |
EnumObjectPermissions(String, ObjectPermissionSet) |
EnumObjectPermissions()
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions ();
member this.EnumObjectPermissions : unit -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions () As ObjectPermissionInfo()
Returns
Applies to
EnumObjectPermissions(ObjectPermissionSet)
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
member this.EnumObjectPermissions : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
- permissions
- ObjectPermissionSet
Returns
Applies to
EnumObjectPermissions(String)
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName);
member this.EnumObjectPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String) As ObjectPermissionInfo()
Parameters
- granteeName
- String
Returns
Applies to
EnumObjectPermissions(String, ObjectPermissionSet)
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
member 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