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
buildPath
Type: System.StringThe canonicalized path to parse
containerId
Type: System.Int64%The container ID to return
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.