다음을 통해 공유


EnumDatabaseMappings 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function EnumDatabaseMappings As DatabaseMapping()
‘사용 방법
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[]

반환 값

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