UserDefinedType.Revoke 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Revoke(ObjectPermissionSet, String)
public void Revoke(Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName);
abstract member Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string -> unit
override this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeName As String)
參數
- permission
- ObjectPermissionSet
- granteeName
- String
實作
適用於
Revoke(ObjectPermissionSet, String[])
public void Revoke(Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames);
abstract member Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] -> unit
override this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeNames As String())
參數
- permission
- ObjectPermissionSet
- granteeNames
- String[]
實作
適用於
Revoke(ObjectPermissionSet, String, Boolean, Boolean)
public void Revoke(Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool revokeGrant, bool cascade);
member this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool * bool -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeName As String, revokeGrant As Boolean, cascade As Boolean)
參數
- permission
- ObjectPermissionSet
- granteeName
- String
- revokeGrant
- Boolean
- cascade
- Boolean
適用於
Revoke(ObjectPermissionSet, String[], Boolean, Boolean)
public void Revoke(Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool revokeGrant, bool cascade);
abstract member Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool * bool -> unit
override this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool * bool -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeNames As String(), revokeGrant As Boolean, cascade As Boolean)
參數
- permission
- ObjectPermissionSet
- granteeNames
- String[]
- revokeGrant
- Boolean
- cascade
- Boolean
實作
適用於
Revoke(ObjectPermissionSet, String, Boolean, Boolean, String)
public void Revoke(Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool revokeGrant, bool cascade, string asRole);
abstract member Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool * bool * string -> unit
override this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool * bool * string -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeName As String, revokeGrant As Boolean, cascade As Boolean, asRole As String)
參數
- permission
- ObjectPermissionSet
- granteeName
- String
- revokeGrant
- Boolean
- cascade
- Boolean
- asRole
- String
實作
適用於
Revoke(ObjectPermissionSet, String[], Boolean, Boolean, String)
public void Revoke(Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool revokeGrant, bool cascade, string asRole);
member this.Revoke : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool * bool * string -> unit
Public Sub Revoke (permission As ObjectPermissionSet, granteeNames As String(), revokeGrant As Boolean, cascade As Boolean, asRole As String)
參數
- permission
- ObjectPermissionSet
- granteeNames
- String[]
- revokeGrant
- Boolean
- cascade
- Boolean
- asRole
- String