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.