Share via


GitUtils.IsValidRefName Method

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Shared Function IsValidRefName ( _
    refName As String _
) As Boolean
public static bool IsValidRefName(
    string refName
)
public:
static bool IsValidRefName(
    String^ refName
)
static member IsValidRefName : 
        refName:string -> bool
public static function IsValidRefName(
    refName : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

GitUtils Class

Microsoft.TeamFoundation.Git.Server Namespace