Condividi tramite


Metodo EnumDatabaseMappings

Enumerates a list of login account mappings to databases and database users.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumDatabaseMappings As DatabaseMapping()
'Utilizzo
Dim instance As Login
Dim returnValue As DatabaseMapping()

returnValue = instance.EnumDatabaseMappings()
public DatabaseMapping[] EnumDatabaseMappings()
public:
array<DatabaseMapping^>^ EnumDatabaseMappings()
member EnumDatabaseMappings : unit -> DatabaseMapping[] 
public function EnumDatabaseMappings() : DatabaseMapping[]

Valore restituito

Tipo: array<Microsoft.SqlServer.Management.Smo. . :: . .DatabaseMapping> [] () [] []
A DatabaseMapping object array value that lists the login account mappings to databases and database users.