SmoUtility Class

Definition

Utility and helper methods for SMO

public static class SmoUtility
type SmoUtility = class
Public Module SmoUtility
Inheritance
SmoUtility

Methods

IsSupportedObject(Type, ServerVersion, DatabaseEngineType, DatabaseEngineEdition)

Whether the specified type is supported by the specified server Version, Engine Type and Engine Edition.

IsSupportedObject<T>(SqlSmoObject, ScriptingPreferences)

Checks if the specified type is supported by the ServerVersion and DatabaseEngineType of the root server for this object. If ScriptingPreferences are non-null will also check if specified type is supported by the ServerVersion and DatabaseEngineType of the target server.

Applies to