Server.EnumWindowsUserInfo Method

Enumerates a list of information about all Windows users that have explicitly granted access to Microsoft SQL Server.

备注

已更新的文本:

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
Server.EnumWindowsUserInfo ()
Enumerates a list of information about all Microsoft Windows users that have explicitly granted access to Microsoft SQL Server.
Server.EnumWindowsUserInfo (String)
Enumerates a list of information about all Microsoft Windows users that have explicitly granted access to the instance of Microsoft SQL Server.
Server.EnumWindowsUserInfo (String, Boolean)
Enumerates a list of information about all Microsoft Windows users that have explicitly granted access to the instance of Microsoft SQL Server and with the option to list all the permissions paths (groups) through which the user has been granted access to the instance of SQL Server.

请参阅

参考

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
管理服务器