共用方式為


StandardSqlError Class

Contains constants for SQL error numbers.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.StandardSqlError

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public NotInheritable Class StandardSqlError
public static class StandardSqlError
public ref class StandardSqlError abstract sealed
[<AbstractClass>]
[<Sealed>]
type StandardSqlError =  class end
public final class StandardSqlError

The StandardSqlError type exposes the following members.

Fields

  Name Description
Public fieldStatic member AzureClientIPRestricted
Public fieldStatic member AzureDatabaseQuotaReached
Public fieldStatic member AzureDeprecatedFeature
Public fieldStatic member AzureGlobalTempObject
Public fieldStatic member AzureInternalConnectionError
Public fieldStatic member AzureLoginBadUser
Public fieldStatic member AzureMissingClusteredIndex
Public fieldStatic member AzureOperationNotSupported
Public fieldStatic member AzurePartitionFailOver
Public fieldStatic member AzureProcessingError
Public fieldStatic member AzureQuotaReached
Public fieldStatic member AzureResourceGovernanceMaxThreads
Public fieldStatic member AzureResourceGovernanceMaxThreadsTooBusy
Public fieldStatic member AzureServerUnavailable
Public fieldStatic member AzureServiceTooBusy
Public fieldStatic member AzureSessionTerminatedLocks
Public fieldStatic member AzureSessionTerminatedLogspace
Public fieldStatic member AzureSessionTerminatedMemory
Public fieldStatic member AzureSessionTerminatedTempDB
Public fieldStatic member AzureSessionTerminatedTimeLimit
Public fieldStatic member BadDatabaseName Error code for bad database name.
Public fieldStatic member BadNetworkResponse Error code for bad network response.
Public fieldStatic member BatchAborted Error code for batch aborted.
Public fieldStatic member BufferLatchTimeout Error code for buffer latch time-out.
Public fieldStatic member CannotCreateFileBecauseItAlreadyExists
Public fieldStatic member CannotLoadMsxmlsql
Public fieldStatic member CollationIsNotSupported
Public fieldStatic member ConnectionAborted Error code for connection aborted.
Public fieldStatic member ConnectionInvalid Error code for connection invalid.
Public fieldStatic member ConnectionOpenError Error code for connection open error.
Public fieldStatic member ConnectionOpenError2 Error code for connection open error 2.
Public fieldStatic member ConnectionOpenError3
Public fieldStatic member ConnectionResetByPeer Error code for connection reset by peer.
Public fieldStatic member ConnectionStringIsNotValid Error code for connection string is not valid.
Public fieldStatic member CouldNotObtainExclusiveLockOnDatabase
Public fieldStatic member DatabaseAlreadyExists
Public fieldStatic member DatabaseBeingUpgraded Error code for database being upgraded.
Public fieldStatic member DatabaseBypassRecovery Error code for database bypass recovery.
Public fieldStatic member DatabaseCannotOpen Error code for database cannot open.
Public fieldStatic member DatabaseClosed Error code for database closed.
Public fieldStatic member DatabaseDown Error code for database down.
Public fieldStatic member DatabaseFull Error code for database full.
Public fieldStatic member DatabaseFullIndexAllocationFailed Error code for database full index allocation failed.
Public fieldStatic member DatabaseFullPageAllocationFailed Error code for database full page allocation failed.
Public fieldStatic member DatabaseFutureVersion Error code for database future version.
Public fieldStatic member DatabaseInRecovery Error code for database in recovery.
Public fieldStatic member DatabaseInRestrictedMode Error code for database in restricted mode.
Public fieldStatic member DatabaseInSingleUserMode Error code for database in single user mode.
Public fieldStatic member DatabaseInTransition Error code for database in transition.
Public fieldStatic member DatabaseLoginFailedBoth Error code for database login failed in both the user and master space.
Public fieldStatic member DatabaseLoginFailedUser Error code for database login failed in the user space.
Public fieldStatic member DatabaseLoginFailedUserDefault Error code for database login failed in the default user space.
Public fieldStatic member DatabaseLoginFailedUserMaster Error code for database login failed in the user master space.
Public fieldStatic member DatabaseLogUnavailable Error code for database log unavailable.
Public fieldStatic member DatabaseNotRecovered Error code for database not recovered.
Public fieldStatic member DatabaseOffline Error code for database offline.
Public fieldStatic member DatabaseOlderVersion Error code for database older version.
Public fieldStatic member DatabaseOlderVersionCannotUpgrade Error code for database older version cannot upgrade.
Public fieldStatic member DatabaseOlderVersionCannotUpgrade2 Error code for database older version cannot upgrade 2.
Public fieldStatic member DatabaseReadOnly Error code for database read only.
Public fieldStatic member DatabaseRestoring Error code for database restoring.
Public fieldStatic member DatabaseShuttingDown Error code for database shutting down.
Public fieldStatic member DatabaseSpaceAllocatorFailed Error code for database space allocator failed.
Public fieldStatic member DatabaseSuspect Error code for database suspect.
Public fieldStatic member DatabaseTempDbAllocation Error code for database temp database allocation.
Public fieldStatic member DatabaseTemporarilyUnavailable
Public fieldStatic member DatabaseTransactionLogFull Error code for database transaction log full.
Public fieldStatic member DataLengthExceedsMaxForReplication Error code for data length exceeds max for replication.
Public fieldStatic member DataTypeNotFound
Public fieldStatic member Deadlock Error code for deadlock.
Public fieldStatic member DefinitionForUserDefinedDataTypeHasChanged
Public fieldStatic member EncryptionNotSupported
Public fieldStatic member EncryptionRequiredToConnect Error code for encryption required to connect.
Public fieldStatic member ErrorLocatingServerOrInstance Error code for error locating server or instance.
Public fieldStatic member ErrorPipeBusy Error code for error pipe busy.
Public fieldStatic member FailureSendingRequest
Public fieldStatic member FullTextCrawlManagerNotInitialized
Public fieldStatic member FullTextMasterMergeCancelled
Public fieldStatic member FullTextMasterMergeFailure
Public fieldStatic member HadrDatabaseIsResolving
Public fieldStatic member HadrDatabaseNotAccessible
Public fieldStatic member HadrReadOnlyApplicationIntentRequired
Public fieldStatic member HostDown Error code for host down.
Public fieldStatic member HostNotFound Error code for host not found.
Public fieldStatic member HostUnreachable Error code for host unreachable.
Public fieldStatic member InsufficientResourcesForQueryPlan
Public fieldStatic member InternalNetworkError1 Error code for internal network error 1.
Public fieldStatic member InternalNetworkError2 Error code for internal network error 2.
Public fieldStatic member InternalNetworkError3 Error code for internal network error 3.
Public fieldStatic member InvalidClientEvent Error code for invalid client event.
Public fieldStatic member InvalidCollation
Public fieldStatic member InvalidColumnName
Public fieldStatic member InvalidHandle
Public fieldStatic member InvalidPacketLength Error code for invalid packet length.
Public fieldStatic member InvalidParameterSpecified Error code for invalid parameter specified.
Public fieldStatic member InvalidParameterSpecified2
Public fieldStatic member InvalidTdsCollation
Public fieldStatic member LogicalFileNameIsAlreadyInUse
Public fieldStatic member LogicalPageFetchFailed Error code for logical page fetch failed.
Public fieldStatic member LoginAlreadyMappedToDifferentUser
Public fieldStatic member LoginError Error code for login error.
Public fieldStatic member LoginFailedDueToTrigger Error code for login failed because of trigger.
Public fieldStatic member LoginFailure Error code for login failure.
Public fieldStatic member LoginFailureAccountDisabled Error code for login failure account disabled.
Public fieldStatic member LoginFailureAccountLocked Error code for login failure account locked.
Public fieldStatic member LoginFailureAdminOnly Error code for login failure admin only.
Public fieldStatic member LoginFailureInvalid Error code for login failure invalid.
Public fieldStatic member LoginFailureLength Error code for login failure length.
Public fieldStatic member LoginFailurePasswordExpired Error code for login failure password expired.
Public fieldStatic member LoginFailurePasswordNeedsChanging Error code for login failure password needs changing.
Public fieldStatic member LoginFailureScriptUpdateMode Error code for login failure script update mode.
Public fieldStatic member LoginFailureSingleUserMode Error code for login failure single user mode.
Public fieldStatic member LoginFailureUserLimit Error code for login failure user limit.
Public fieldStatic member LoginFailureUserLimit2 Error code for login failure user limit 2.
Public fieldStatic member LoginFailureWorkStationLimit Error code for login failure work station limit.
Public fieldStatic member LoginPacketInvalid Error code for login packet invalid.
Public fieldStatic member LoginTimeoutError Error code for login time-out error.
Public fieldStatic member MediaFamilyOnDeviceIsIncorrectlyFormed
Public fieldStatic member MissingErrorMessages Error code for missing error messages.
Public fieldStatic member MissingObject Error code for missing object.
Public fieldStatic member MissingUDF Error code for missing UDF.
Public fieldStatic member NamedPipeConnectionNotPermitted Error code for named pipe connection not permitted.
Public fieldStatic member NamedPipeError Error code for named pipe error.
Public fieldStatic member NamedPipeNotFound Error code for named pipe not found.
Public fieldStatic member NamedPipeShuttingdown Error code for named pipe shutting down.
Public fieldStatic member NetworkConnectionAborted
Public fieldStatic member NetworkConnectionRefused
Public fieldStatic member NetworkOrInstanceError
Public fieldStatic member NetworkTransportError Error code for network transport error.
Public fieldStatic member NetworkTransportErrorDuringReceive Error code for network transport error during receive.
Public fieldStatic member NetworkTransportErrorNameNotAvailable Error code for network transport error name not available.
Public fieldStatic member NetworkTransportErrorSemaphoreTimeout Error code for transport error semaphore time-out.
Public fieldStatic member NotEnoughStorageToCompleteOperation Error code for not enough storage to complete operation.
Public fieldStatic member ObjectRecompiledDuringExecution Error code for object recompiled during execution.
Public fieldStatic member OSFatalError Error code for fatal error in operating system.
Public fieldStatic member OutOfBufferPoolMemory
Public fieldStatic member OutOfMemory Error code for out of memory.
Public fieldStatic member ParameterNotSupplied
Public fieldStatic member ParameterTypeMismatch
Public fieldStatic member PasswordEncryptionError Error code for password encryption error.
Public fieldStatic member PipeNotAvailable Error code for pipe not available.
Public fieldStatic member PreLoginPacketInvalid Error code for pre login packet invalid.
Public fieldStatic member QueryCostExceededConfiguredThreshold Error code for query cost exceeded configured threshold.
Public fieldStatic member RemoteAccessDisabled Error code for remote access disabled.
Public fieldStatic member RemoteAccessNotPermitted Error code for remote access not permitted.
Public fieldStatic member ScanWithNoLockFailed Error code for scan without a lock failed.
Public fieldStatic member ServerMaximumAdminConnections Error code for server maximum admin connections.
Public fieldStatic member ServerMaximumConnections Error code for server maximum connections.
Public fieldStatic member ServerNotAccessible
Public fieldStatic member ServerNotFound
Public fieldStatic member ServerPaused Error code for server paused.
Public fieldStatic member ServerPaused2 Error code for server paused 2.
Public fieldStatic member ServerPrincipalAlreadyExists
Public fieldStatic member ServerShutdown Error code for server shutdown.
Public fieldStatic member ServiceStopped Error code for service stopped.
Public fieldStatic member SevereError Error code for severe error.
Public fieldStatic member SocketForbidden
Public fieldStatic member SprocDoesntSupportArguments
Public fieldStatic member SqlFatalError Error code for SQL fatal error.
Public fieldStatic member SSPIHandshakeFailed Error code for SSPI handshake failed.
Public fieldStatic member SSPIIllegalMessage
Public fieldStatic member SSPIInvalidHandle Error code for SSPI invalid handle.
Public fieldStatic member SSPIShutdownInProgress Error code for SSPIR shutdown in progress.
Public fieldStatic member StoredProcedureAccessDenied Error code for stored procedure access denied.
Public fieldStatic member StoredProcedureNotFound Error code for stored procedure not found.
Public fieldStatic member TableValuedParameterColumnsMismatch
Public fieldStatic member TargetNameWrong Error code for target name wrong.
Public fieldStatic member TcpConnectionFailed Error code for TCP connection failed.
Public fieldStatic member TcpConnectionRefused Error code for TCP connection refused.
Public fieldStatic member TempDbSkipped Error code for temporary DB skipped.
Public fieldStatic member TimeoutOptimizingQuery Error code for time-out optimizing query.
Public fieldStatic member TimeoutOrServerNotResponding Error code for time-out or server not responding.
Public fieldStatic member TimeoutWaitingMemoryQuery Error code for time-out waiting memory query.
Public fieldStatic member TooManyArgumentSpecified Error code for too many argument specified.
Public fieldStatic member UserGroupOrRoleAlreadyExists
Public fieldStatic member WaitTimeout

Top

Remarks

Sorted by error number for clarity.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation Namespace