Parses a MigrationVersion from a string.
Namespace:
Mindscape.LightSpeed.MigrationsAssembly: Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.0.0)
Syntax
C# |
---|
public static Nullable<MigrationVersion> TryFromString( string value ) |
Visual Basic (Declaration) |
---|
Public Shared Function TryFromString ( _ value As String _ ) As Nullable(Of MigrationVersion) |
Parameters
- value
- Type: System..::.String
The string to be parsed.
Return Value
The MigrationVersion corresponding to the string, or null if the string did not represent a valid version.
Remarks
Valid version strings are of the form "yyyyMMddHHmmsss" where the components
represent a valid timestamp.