BuildSourceVersion.IsValidSourceVersion Method
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function IsValidSourceVersion ( _
sourceVersion As String _
) As Boolean
public static bool IsValidSourceVersion(
string sourceVersion
)
public:
static bool IsValidSourceVersion(
String^ sourceVersion
)
static member IsValidSourceVersion :
sourceVersion:string -> bool
public static function IsValidSourceVersion(
sourceVersion : String
) : boolean
Parameters
- sourceVersion
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.
.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.