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
- refName
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.