Olvasás angol nyelven

Megosztás a következőn keresztül:


SqlSmoObject.CheckObjectState Method

Definition

Overloads

CheckObjectState()
CheckObjectState(Boolean)

This is a virtual function, so that derived classes can override it if they want to do additional checks on the state of the object

CheckObjectState()

C#
protected void CheckObjectState();

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 és Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Termék Verziók
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0

CheckObjectState(Boolean)

This is a virtual function, so that derived classes can override it if they want to do additional checks on the state of the object

C#
protected virtual void CheckObjectState(bool throwIfNotCreated);

Parameters

throwIfNotCreated
Boolean

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 és Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Termék Verziók
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0