共用方式為


ServerPermission.ViewAnyDefinition 屬性

Gets a permission that can be included in the server permission set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property ViewAnyDefinition As ServerPermission 
    Get
'用途
Dim value As ServerPermission 

value = ServerPermission.ViewAnyDefinition
public static ServerPermission ViewAnyDefinition { get; }
public:
static property ServerPermission^ ViewAnyDefinition {
    ServerPermission^ get ();
}
static member ViewAnyDefinition : ServerPermission
static function get ViewAnyDefinition () : ServerPermission

屬性值

型別:Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission object that represents the ViewAnyDefinition permission that can be included in the server permission set.

範例

授與、撤銷和拒絕權限

請參閱

參考

ServerPermission 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

權限 (Database Engine)

sys.server_permissions (Transact-SQL)