User.EnumOwnedObjects Method ()


Enumerates a list of object that the database user owns.

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

public Urn[] EnumOwnedObjects()

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn[]

A T:Microsoft.SqlServer.Management.Smo.Urn object array value that specifies the objects owned by the database user.

Note   SQL Server database objects are owned by the schema.

Return to top