Partager via


Database.EnumDatabasePermissions Method

Definition

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

Returns

Applies to