Condividi tramite


Metodo MarkForDrop

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Sub MarkForDrop ( _
    dropOnAlter As Boolean _
)
'Utilizzo
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
)

Parametri

  • dropOnAlter
    Tipo: 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.