共用方式為


SetTargetDatabaseEngineType 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub SetTargetDatabaseEngineType ( _
    databaseEngineType As DatabaseEngineType _
)
'用途
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
)

參數