Export (0) Print
Expand All

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 Urn object array value that specifies the objects owned by the database user.

Note   SQL Server database objects are owned by the schema.

Community Additions

ADD
Show:
© 2014 Microsoft