We recommend using Visual Studio 2017

SqlSmoState Enumeration

The SqlSmoState enumeration contains values that are used to specify the state of an SMO object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public enum SqlSmoState

Member nameDescription
CreatingThe object is being created.
DroppedThe object is being dropped.
ExistingThe object exists.
PendingThe object is pending an instruction.
ToBeDroppedThe object is waiting to be dropped.

The SqlSmoState enumeration class is served by the InvalidSmoOperationException exception constructor.