共用方式為


MarkForDrop 方法

Marks the referenced object to be dropped next time its parent object is altered by the Alter method.

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

語法

'宣告
Sub MarkForDrop ( _
    dropOnAlter As Boolean _
)
'用途
Dim instance As IMarkForDrop
Dim dropOnAlter As Boolean

instance.MarkForDrop(dropOnAlter)
void MarkForDrop(
    bool dropOnAlter
)
void MarkForDrop(
    bool dropOnAlter
)
abstract MarkForDrop : 
        dropOnAlter:bool -> unit 
function MarkForDrop(
    dropOnAlter : boolean
)

參數

  • dropOnAlter
    型別:System. . :: . .Boolean
    A Boolean value that specifies whether to drop an object when its parent object is altered with the Alter method.
    If True, the object is dropped when the Alter method is run on the parent object.
    If False, the object is dropped immediately.