共用方式為


BuildContainerPath.GetContainerId Method

Finds the containerId from a build container path.

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)

Syntax

'Declaration
Public Shared Sub GetContainerId ( _
    buildPath As String, _
    <OutAttribute> ByRef containerId As Long _
)
public static void GetContainerId(
    string buildPath,
    out long containerId
)
public:
static void GetContainerId(
    String^ buildPath, 
    [OutAttribute] long long% containerId
)
static member GetContainerId : 
        buildPath:string * 
        containerId:int64 byref -> unit
public static function GetContainerId(
    buildPath : String, 
    containerId : long
)

Parameters

  • containerId
    Type: System.Int64%

    The container ID to return

.NET Framework Security

See Also

Reference

BuildContainerPath Class

Microsoft.TeamFoundation.Build.Common Namespace