PermissionInfo 類別
The PermissionInfo class represents information regarding granted or denied privileges.
繼承階層
System.Object
Microsoft.SqlServer.Management.Smo.PermissionInfo
Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo
Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo
Microsoft.SqlServer.Management.Smo.ServerPermissionInfo
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Class PermissionInfo
'用途
Dim instance As PermissionInfo
public class PermissionInfo
public ref class PermissionInfo
type PermissionInfo = class end
public class PermissionInfo
PermissionInfo 型別公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
ColumnName | Gets the name of the column that has permissions granted or denied. | |
Grantee | Gets the name of the database user, logon, or database role who has been granted or denied access to the object. | |
GranteeType | Gets the type of grantee. | |
Grantor | Gets the name of the database user, logon, or database role who granted or denied access to the object. | |
GrantorType | Gets the type of grantor. | |
ObjectClass | Gets the object class for the object to which permissions have been granted or denied. | |
ObjectID | Gets the ID value that uniquely identifies the object to which the permission applies. | |
ObjectName | Gets the name of the object to which the permission applies. | |
ObjectSchema | Gets the schema of the object to which the permission applies. | |
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. | |
PermissionTypeInternal | 僅供參考之用。不支援。我們無法保證未來的相容性。 |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | Returns the object as a String value. (覆寫 Object.ToString()。) |
上層
備註
The PermissionInfo object is returned by the EnumObjectPermissions method.
範例
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間