Поделиться через


Метод GetDevicesScript

Gets the script that is used to create devices.

Этот API-интерфейс несовместим с CLS. В качестве CLS-совместимой альтернативы можно использовать .

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
<CLSCompliantAttribute(False)> _
Protected Sub GetDevicesScript ( _
    query As StringBuilder, _
    devices As BackupDeviceList, _
    targetVersion As ServerVersion _
)
'Применение
Dim query As StringBuilder
Dim devices As BackupDeviceList
Dim targetVersion As ServerVersion

Me.GetDevicesScript(query, devices, _
    targetVersion)
[CLSCompliantAttribute(false)]
protected void GetDevicesScript(
    StringBuilder query,
    BackupDeviceList devices,
    ServerVersion targetVersion
)
[CLSCompliantAttribute(false)]
protected:
void GetDevicesScript(
    StringBuilder^ query, 
    BackupDeviceList^ devices, 
    ServerVersion^ targetVersion
)
[<CLSCompliantAttribute(false)>]
member GetDevicesScript : 
        query:StringBuilder * 
        devices:BackupDeviceList * 
        targetVersion:ServerVersion -> unit 
protected function GetDevicesScript(
    query : StringBuilder, 
    devices : BackupDeviceList, 
    targetVersion : ServerVersion
)

Параметры