Freigeben über


SetTargetDatabaseEngineType-Methode

Sets the database engine type as specified in a DatabaseEngineType object.

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

Syntax

'Declaration
Public Sub SetTargetDatabaseEngineType ( _
    databaseEngineType As DatabaseEngineType _
)
'Usage
Dim instance As ScriptingOptions
Dim databaseEngineType As DatabaseEngineType

instance.SetTargetDatabaseEngineType(databaseEngineType)
public void SetTargetDatabaseEngineType(
    DatabaseEngineType databaseEngineType
)
public:
void SetTargetDatabaseEngineType(
    DatabaseEngineType databaseEngineType
)
member SetTargetDatabaseEngineType : 
        databaseEngineType:DatabaseEngineType -> unit 
public function SetTargetDatabaseEngineType(
    databaseEngineType : DatabaseEngineType
)

Parameter