ServerPermissionInfo 類別
The ServerPermissionInfo object represents information about a SQL Server server-level permission.
繼承階層
System.Object
Microsoft.SqlServer.Management.Smo.PermissionInfo
Microsoft.SqlServer.Management.Smo.ServerPermissionInfo
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Class ServerPermissionInfo _
Inherits PermissionInfo
'用途
Dim instance As ServerPermissionInfo
public class ServerPermissionInfo : PermissionInfo
public ref class ServerPermissionInfo : public PermissionInfo
type ServerPermissionInfo =
class
inherit PermissionInfo
end
public class ServerPermissionInfo extends PermissionInfo
ServerPermissionInfo 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
ServerPermissionInfo | Initializes a new instance of the ServerPermissionInfo class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
ColumnName | Gets the name of the column that has permissions granted or denied. (繼承自 PermissionInfo。) |
![]() |
Grantee | Gets the name of the database user, logon, or database role who has been granted or denied access to the object. (繼承自 PermissionInfo。) |
![]() |
GranteeType | Gets the type of grantee. (繼承自 PermissionInfo。) |
![]() |
Grantor | Gets the name of the database user, logon, or database role who granted or denied access to the object. (繼承自 PermissionInfo。) |
![]() |
GrantorType | Gets the type of grantor. (繼承自 PermissionInfo。) |
![]() |
ObjectClass | Gets the object class for the object to which permissions have been granted or denied. (繼承自 PermissionInfo。) |
![]() |
ObjectID | Gets the ID value that uniquely identifies the object to which the permission applies. (繼承自 PermissionInfo。) |
![]() |
ObjectName | Gets the name of the object to which the permission applies. (繼承自 PermissionInfo。) |
![]() |
ObjectSchema | Gets the schema of the object to which the permission applies. (繼承自 PermissionInfo。) |
![]() |
PermissionState | Gets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. (繼承自 PermissionInfo。) |
![]() |
PermissionType | Gets the type of permission. |
![]() |
PermissionTypeInternal | 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 PermissionInfo。) |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToString | Returns the object as a String value. (繼承自 PermissionInfo。) |
上層
備註
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
範例
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。