GetDevicesScript 方法
此 API 不符合 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
)
參數
- query
型別:System.Text. . :: . .StringBuilder
- targetVersion
型別:Microsoft.SqlServer.Management.Common. . :: . .ServerVersion