User.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<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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间