共用方式為


EnumOwnedObjects 方法

Enumerates a list of object that the database user owns.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumOwnedObjects As Urn()
'用途
Dim instance As User
Dim returnValue As Urn()

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

傳回值

型別:array<Urn> [] () [] []
A Urn object array value that specifies the objects owned by the database user.

備註

Note   SQL Server database objects are owned by the schema.