对于特定的部署项目,为特定配置返回远程计算机的名称。
命名空间: Microsoft.VisualStudio.VsWizard
程序集: Microsoft.VisualStudio.VsWizard(在 Microsoft.VisualStudio.VsWizard.dll 中)
语法
声明
Function GetRemoteMachine ( _
pDeployable As Object, _
bstrCfg As String _
) As String
string GetRemoteMachine(
Object pDeployable,
string bstrCfg
)
String^ GetRemoteMachine(
[InAttribute] Object^ pDeployable,
[InAttribute] String^ bstrCfg
)
abstract GetRemoteMachine :
pDeployable:Object *
bstrCfg:string -> string
function GetRemoteMachine(
pDeployable : Object,
bstrCfg : String
) : String
参数
pDeployable
类型:Object必需。 可部署项目对象。
bstrCfg
类型:String必需。 包含要使用的配置的类型的字符串。 可以是“Release”或“Debug”。
返回值
类型:String
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。