Condividi tramite


Metodo Schema.EnumOwnedObjects

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

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

Sintassi

'Dichiarazione
Public Function EnumOwnedObjects As Urn()
'Utilizzo
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[]

Valore restituito

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

Esempi

Creazione, modifica e rimozione di schemi

Vedere anche

Riferimento

Schema Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Informazioni sugli schemi di database

CREATE SCHEMA (Transact-SQL)