共用方式為


IVCWizCtlUI.GetRemoteMachine Method

For the specified deployment project, returns the name of a remote machine for the specified configuration.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'宣告
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

Parameters

  • pDeployable
    Type: System.Object
    Required. The deployable project object.
  • bstrCfg
    Type: System.String
    Required. A string containing the type of configuration to use. Can be "Release" or "Debug."

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace