Schema.EnumOwnedObjects Method

Enumerates a list of objects that are owned by the schema.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumOwnedObjects As Urn()
'Usage
Dim instance As Schema
Dim returnValue As Urn()

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

Return Value

Type: array<Microsoft.SqlServer.Management.Sdk.Sfc.Urn[]
An array of Urn objects that specifies the objects that are owned by the schema.