BackupRestoreBase.GetDevicesScript Method (StringBuilder, BackupDeviceList, ServerVersion)

 

Applies To: SQL Server 2016 Preview

Gets the script that is used to create devices.

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

Syntax

[CLSCompliantAttribute(false)]
protected void GetDevicesScript(
    StringBuilder query,
    BackupDeviceList devices,
    ServerVersion targetVersion
)
protected:
[CLSCompliantAttribute(false)]
void GetDevicesScript(
    StringBuilder^ query,
    BackupDeviceList^ devices,
    ServerVersion^ targetVersion
)
[<CLSCompliantAttribute(false)>]
member GetDevicesScript : 
        query:StringBuilder *
        devices:BackupDeviceList *
        targetVersion:ServerVersion -> unit
<CLSCompliantAttribute(False)>
Protected Sub GetDevicesScript (
    query As StringBuilder,
    devices As BackupDeviceList,
    targetVersion As ServerVersion
)

Parameters

See Also

BackupRestoreBase Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top