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