共用方式為


ScriptingOptions.TargetDatabaseEngineType 屬性

Gets or sets the DatabaseEngineType property value.

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

語法

'宣告
Public Property TargetDatabaseEngineType As DatabaseEngineType 
    Get 
    Set
'用途
Dim instance As ScriptingOptions 
Dim value As DatabaseEngineType 

value = instance.TargetDatabaseEngineType

instance.TargetDatabaseEngineType = value
public DatabaseEngineType TargetDatabaseEngineType { get; set; }
public:
property DatabaseEngineType TargetDatabaseEngineType {
    DatabaseEngineType get ();
    void set (DatabaseEngineType value);
}
member TargetDatabaseEngineType : DatabaseEngineType with get, set
function get TargetDatabaseEngineType () : DatabaseEngineType 
function set TargetDatabaseEngineType (value : DatabaseEngineType)

屬性值

型別:Microsoft.SqlServer.Management.Common.DatabaseEngineType
A DatabaseEngineType object specifying whether the database engine type is SQL Azure or an instance of the SQL Server Database Engine.

請參閱

參考

ScriptingOptions 類別

Microsoft.SqlServer.Management.Smo 命名空間