Update (Role Interface)

ms133283.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The Update method of the Role interface updates the definition of the role object in the metadata repository.

Applies To:clsDatabaseRole

语法

object.Update    

参数

  • object
    The role object to update.

备注

When you make a change to default permission settings on a database role and invoke the Update method on the role, Decision Support Objects (DSO) finds all cubes that did not overwrite the default permission setting and then sends the new security permissions to the server.

请参阅

参考

Role Interface

帮助和信息

获取 SQL Server 2005 帮助